diff options
author | GONG Ruiqi <[email protected]> | 2025-01-07 09:57:50 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2025-01-07 11:43:08 +0100 |
commit | b0e525d7a22ea350e75e2aec22e47fcfafa4cacd (patch) | |
tree | b0e23e41ce922c6bb44d5685b96f45d5bf4cef26 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | cdef30e0774802df2f87024d68a9d86c3b99ca2a (diff) |
usb: typec: fix pm usage counter imbalance in ucsi_ccg_sync_control()
The error handling for the case `con_index == 0` should involve dropping
the pm usage counter, as ucsi_ccg_sync_control() gets it at the
beginning. Fix it.
Cc: stable <[email protected]>
Fixes: e56aac6e5a25 ("usb: typec: fix potential array underflow in ucsi_ccg_sync_control()")
Signed-off-by: GONG Ruiqi <[email protected]>
Reviewed-by: Dan Carpenter <[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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions