aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorSven Peter <[email protected]>2022-11-14 17:59:24 +0100
committerGreg Kroah-Hartman <[email protected]>2022-11-22 17:27:27 +0100
commitb6ddd180e3d9f92c1e482b3cdeec7dda086b1341 (patch)
tree791683ecf17168f1fb8b817267c23576ae46fe98 /tools/perf/scripts/python/sctop.py
parent7b462b05e47adaf11358f5c2c24db85c487b613e (diff)
usb: typec: Check for ops->exit instead of ops->enter in altmode_exit
typec_altmode_exit checks if ops->enter is not NULL but then calls ops->exit a few lines below. Fix that and check for the function pointer it's about to call instead. Fixes: 8a37d87d72f0 ("usb: typec: Bus type for alternate modes") Signed-off-by: Sven Peter <[email protected]> Reviewed-by: Heikki Krogerus <[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/sctop.py')
0 files changed, 0 insertions, 0 deletions