summaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorNicholas Troast <ntroast@codeaurora.org>2016-11-21 16:36:05 -0800
committerNicholas Troast <ntroast@codeaurora.org>2016-11-21 16:49:41 -0800
commit38fbbf2ca0182a8aa95bfbb453532b0ae260f8d9 (patch)
tree56a8bf851aa3c27d1f0935c62bad9a43ff1a7f9a /scripts/gcc-wrapper.py
parente2787f510d8879a6608bf41d0a62e32244da18fc (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