diff options
| author | Jack Pham <jackp@codeaurora.org> | 2017-06-06 22:22:18 -0700 |
|---|---|---|
| committer | Jack Pham <jackp@codeaurora.org> | 2017-06-06 22:50:27 -0700 |
| commit | 00adcfcbad43e8f68bed8c3f3df63b58f978137b (patch) | |
| tree | 25ad2dad8767c28b8c7e6a961c92a810c70fb1e9 /net/unix/af_unix.c | |
| parent | ed97270b784c0ecaa3809fe8474aa2609ecd3492 (diff) | |
usb: pd: Keep PROP_PR_SWAP set during ERROR_RECOVERY
Since ErrorRecovery handling requires a spoof disconnect, the
charger driver needs to avoid immediately reapplying the
terminations. Re-use the PROP_PR_SWAP property which ignores
the disconnect. After the 25ms delay, policy engine will
explicitly reset back to DRP.
Also remove the transition to ErrorRecovery from PE_SNK_DISCOVERY
as it is removed in V1.3 of the PD 2.0 specification.
Change-Id: I41f1da293208b6813dfb540a123ee84ac35b4a68
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
