summaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNicholas Troast <ntroast@codeaurora.org>2016-12-05 10:22:22 -0800
committerNicholas Troast <ntroast@codeaurora.org>2017-01-10 11:38:45 -0800
commit9645aa1f612dec51ac8d31c663af195c04d65cee (patch)
tree6ea46e3a9a930c20c9db8949f155481e9058c5e1 /tools/perf/util/trace-event-scripting.c
parenta6d83d2e8ed916c5a097c7c047dc39cb9183b0e9 (diff)
smb-lib: fix Type-C removal detection with OTG
When VCONN is enabled while OTG is disabled the CC line which is not configured for VCONN can be internally pulled down. If the Type-C plug were removed then Type-C detection would still see that Rd is applied and not detect the removal. Fix this by ensuring that OTG is enabled while VCONN is enabled. If OTG were disabled due to an over-current event then VCONN must also be disabled. Implement a retry mechanism if over-current is detected on either VCONN or VBUS. Change-Id: Iccfb923bce8f06c7c1270943211ce134ea9ef616 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions