Skip to content
Commit 9411cbb9 authored by Jack Pham's avatar Jack Pham
Browse files

usb: pd: Set PD_IN_HARD_RESET as soon as hard reset received



Move setting of PD_IN_HARD_RESET to the phy_sig_received()
callback in order to inform the charger to ignore the upcoming
VBUS toggle as soon as possible. This will help decrease the
possibility of racing to set the appropriate HW bits while
VBUS turns off and leads to the charger indicating disconnect.

Change-Id: I42cc2969defa48c9987fa4bea64780866861d868
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 6de2080b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment