summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2016-06-27 18:26:22 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-06-28 19:28:04 -0700
commitac8e2c3c5025dfd2bdac5faa9aebb18b3b48d9ac (patch)
tree6303f3b5a48f495a28797eb2b27f32ad46ea8916 /chip
parent268237828a773c5797d3a8fc91acef8edc9b6818 (diff)
downloadchrome-ec-ac8e2c3c5025dfd2bdac5faa9aebb18b3b48d9ac.tar.gz
tcpm: fusb302: Avoid unwanted CC PU changes
If set_cc() is called, our toggle interrupt may still be active. Since alert() is called from the pdcmd task and set_cc() is called from the pd tasks, an unwanted interrupt may fire and override our desired CC settings. BUG=chrome-os-partner:54786 BRANCH=None TEST=Manual on gru. Rapidly attach + detach DP dongle, verify we don't get stuck in SNK_DISCONNECTED_DEBOUNCE. Change-Id: Ib60123c45d9a3a78243a3347377fb2190cbdf94b Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/356513 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Joe Bauman <joe.bauman@fairchildsemi.com> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip')
0 files changed, 0 insertions, 0 deletions