mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 18:11:05 +00:00
If VBUS toggles between 'present' and 'not-present', and fusb302 is the arbiter of VBUS presence, wake the PD task so that it can take the necessary protocol actions (eg. transition out of HARD_RESET_RECOVER). BUG=b:69482362 BRANCH=None TEST=On scarlet, issue EC reset with CableCreation source dock plugged, verify we don't end up in hard reset loop. Change-Id: I88d6102a6b5f4bd5151bae117c70f0a3ac0c09e7 Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/804660 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>