diff options
| author | Jack Pham <jackp@codeaurora.org> | 2016-10-19 12:49:20 -0700 |
|---|---|---|
| committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2016-10-19 16:27:07 -0700 |
| commit | f2449fb61a2505b60f8e19093daca9a6f999c974 (patch) | |
| tree | a01232a2f31b97de5ab464bb2e9f85fcfae4026f /fs/jbd2/commit.c | |
| parent | 7ae4a1711ecb0fbd69578348a63e9592c611dda3 (diff) | |
usb: pd: Clear PD_IN_HARD_RESET in PE_SNK_TRANSITION_TO_DEFAULT
Make sure to properly clear the PD_IN_HARD_RESET property upon
reaching the SNK_Transition_to_default state to ensure that the
charger driver is notified that hard reset has completed. Move
the clearing of pd->hard_reset flag here as well for clarity.
Also clear the pd->in_pr_swap flag when initiating or receiving
hard reset signal as that should promptly abort any PR swap
operation in progress.
Change-Id: I967e3841af614ecd2129bf60dc08a1b19731c4e3
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
