summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2016-10-25 19:13:37 -0700
committerJack Pham <jackp@codeaurora.org>2016-10-26 09:11:04 -0700
commitdf63068acb2ce8f5410fda353795311d8132f550 (patch)
tree1f0e3e545eb9f6935032754d3ae1618e195276fc /tools/perf/scripts/python/check-perf-trace.py
parent46aa49c1188a77f52dc4969f82292c176d8f399b (diff)
usb: pd: Fix sink hard reset looping bug
commit f2449fb61a25 ("usb: pd: Clear PD_IN_HARD_RESET in PE_SNK_TRANSITION_TO_DEFAULT") introduced a subtle bug by moving the clearing of the pd->hard_reset flag in sink mode to the PE_SNK_TRANSITION_TO_DEFAULT state. This caused a regression in which the state machine acts as if it had received a hard reset signal and infinitely loops back there. The cycle could only be broken if a physical disconnect happens. Fix this by renaming the flag to hard_reset_recvd and only using it when receiving, and not sending a hard reset. Change-Id: I04008d0bfc9a874e08b45f78a937004e9f37527d Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions