commit | 9411cbb955ba6209f2e6b43a26c04072fed10f43 | [log] [tgz] |
---|---|---|
author | Jack Pham <jackp@codeaurora.org> | Tue Jun 06 11:10:03 2017 -0700 |
committer | Jack Pham <jackp@codeaurora.org> | Thu Jun 08 17:35:47 2017 -0700 |
tree | 713daae76def30110ca5b467a2946739386c3b1d | |
parent | 6de2080bb3e822ff8c58eecce0338e5762ac5cc0 [diff] |
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: Jack Pham <jackp@codeaurora.org>