diff options
| author | Nicholas Troast <ntroast@codeaurora.org> | 2016-11-21 16:36:05 -0800 |
|---|---|---|
| committer | Nicholas Troast <ntroast@codeaurora.org> | 2016-11-21 16:49:41 -0800 |
| commit | 38fbbf2ca0182a8aa95bfbb453532b0ae260f8d9 (patch) | |
| tree | 56a8bf851aa3c27d1f0935c62bad9a43ff1a7f9a /scripts/gcc-wrapper.py | |
| parent | e2787f510d8879a6608bf41d0a62e32244da18fc (diff) | |
qpnp-smb2: force UFP mode before shutdown
If a legacy Type-A to Type-C cable is attached to the phone, but the
Type-A end is left disconnected, then the VBUS capacitor will be charged
when DRP toggles to DFP mode. Since VBUS is charged it will prevent the
device from staying in power off state when shutdown.
Fix this by forcing UFP mode before shutdown so the VBUS capacitor will be
discharged, and therefore it will not trigger PON to restart the device.
Change-Id: I53f89cf6b7c11f32c5e8e5a51a5986fa31424b92
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions
