mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
pd: make transition out of hard reset shorter
Shorten the hard reset timeout so that we transition out of hard reset state faster. BUG=none BRANCH=samus TEST=test on third-party product that sends source cap very soon after we send hard reset. without this patch we weren't responding to the first few source caps, with this change we respond right away. Change-Id: I285aaf0296604da22438e31bc962629701694b7b Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/225247 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
908b3f559b
commit
a019bf5853
@@ -1567,6 +1567,7 @@ void pd_task(void)
|
||||
send_hard_reset(port);
|
||||
/* reset our own state machine */
|
||||
execute_hard_reset(port);
|
||||
timeout = 10*MSEC;
|
||||
break;
|
||||
case PD_STATE_BIST:
|
||||
send_bist_cmd(port);
|
||||
|
||||
Reference in New Issue
Block a user