mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
pd: increasing the waiting time after pd soft reset.
The original waiting time is 5 mesc, but it isn't enough for Oak during sysjump from RO to RW, so, increase to 8 msec. BUG=chrome-os-partner:44584, chrome-os-partner:44952 BRANCH=none TEST=tested on Oak with a battery, with zinger attached, Issue EC console commands: > reboot > sysjump RW (EC_SYNC isn't enabled in bootloader) And check the PD status: > pd 0 state or > pd 1 state Change-Id: I846866a95d7730eef679ea9090883b33313d5007 Signed-off-by: Ben Lok <ben.lok@mediatek.com> Reviewed-on: https://chromium-review.googlesource.com/298420 Reviewed-by: Alec Berg <alecaberg@chromium.org>
This commit is contained in:
@@ -577,7 +577,7 @@ void pd_prepare_reset(void)
|
||||
pd_soft_reset();
|
||||
|
||||
/* Give time for soft reset to be sent */
|
||||
usleep(5*MSEC);
|
||||
usleep(8*MSEC);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_USB_PD_DUAL_ROLE
|
||||
|
||||
Reference in New Issue
Block a user