aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorKyle Tso <[email protected]>2021-05-03 17:18:49 +0000
committerGreg Kroah-Hartman <[email protected]>2021-05-10 13:00:03 +0000
commit2e2b8d15adc2f6ab2d4aa0550e241b9742a436a0 (patch)
tree04fcf42647f1abf1a8ce88cd7449e2f4d6cf1dd0 /tools/perf/scripts/python/check-perf-trace.py
parentusb: dwc2: Remove obsolete MODULE_ constants from platform.c (diff)
downloadkernel-2e2b8d15adc2f6ab2d4aa0550e241b9742a436a0.tar.gz
kernel-2e2b8d15adc2f6ab2d4aa0550e241b9742a436a0.zip
usb: typec: tcpm: Fix wrong handling in GET_SINK_CAP
After receiving Sink Capabilities Message in GET_SINK_CAP AMS, it is incorrect to call tcpm_pd_handle_state because the Message is expected and the current state is not Ready states. The result of this incorrect operation ends in Soft Reset which is definitely wrong. Simply forwarding to Ready States is enough to finish the AMS. Fixes: 8dea75e11380 ("usb: typec: tcpm: Protocol Error handling") Reviewed-by: Guenter Roeck <[email protected]> Acked-by: Heikki Krogerus <[email protected]> Signed-off-by: Kyle Tso <[email protected]> Cc: stable <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions