summaryrefslogtreecommitdiff
path: root/board/host/usb_pd_policy.c
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2015-01-04 10:38:19 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-01-06 23:43:12 +0000
commit563e7bed1ee5ec4b86b13d759507b5f185706c09 (patch)
tree5a14e0ffe85fa3df5774d8987b94a92d4ccc6c5e /board/host/usb_pd_policy.c
parent5348dff126127a1fbecc38b8605017ff1b2a4e5a (diff)
downloadchrome-ec-563e7bed1ee5ec4b86b13d759507b5f185706c09.tar.gz
pd: fix timeouts during power swap and send soft reset on no CRC
Change behavior on timeouts during a power swap. If a power swap fails in the final stages, go to disconnected state instead of simply sending a hard reset. When we fail to receive goodCRC to power swap or data swap commands, send a soft reset instead of a hard reset. BUG=chrome-os-partner:34989, chrome-os-partner:34980 BRANCH=samus TEST=make -j buildall Change-Id: I3fa9f1475e42c2754fb7eb15a75bc0b67ed1e2c0 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/238301 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/host/usb_pd_policy.c')
0 files changed, 0 insertions, 0 deletions