diff options
author | Diana Z <dzigterman@chromium.org> | 2021-08-02 16:09:32 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-16 18:15:37 +0000 |
commit | afad18bf59d78ef236cf16d180e8f141cfbb41d7 (patch) | |
tree | ad069add189dc5649b21ef6c5eb5afb6c60fcc7b /driver/tcpm/rt1718s.c | |
parent | 5fc7d71623fe7da1faa78844f366888c926b877f (diff) | |
download | chrome-ec-afad18bf59d78ef236cf16d180e8f141cfbb41d7.tar.gz |
USB MUX: Gate ACK event send on ACK waiting
Currently, the EC doesn't always wait for an ACK from the virtual mux
but it will still always send the AP ACK onto the PD task. This means
we have some risk of a previous ACK being present in the task events
already when we begin a new wait. Remove this risk by only sending the
event to the task when there is a task waiting.
BRANCH=None
BUG=b:186777984
TEST=tast typec.Mode*.manual tests on voxel
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I1e4cf96af838c0cbe4ef549337b304679b59d641
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3078414
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'driver/tcpm/rt1718s.c')
0 files changed, 0 insertions, 0 deletions