diff options
author | Christian A. Ehrhardt <[email protected]> | 2024-03-20 08:39:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-03-26 15:00:41 +0100 |
commit | 15b2e71b4653b3e13df34695a29ebeee237c5af2 (patch) | |
tree | db9af799af9b33dd8ff1b69252a10af4ff5ecad3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 53f5094fdf5deacd99b8655df692e9278506724d (diff) |
usb: typec: ucsi: Clear EVENT_PENDING under PPM lock
Suppose we sleep on the PPM lock after clearing the EVENT_PENDING
bit because the thread for another connector is executing a command.
In this case the command completion of the other command will still
report the connector change for our connector.
Clear the EVENT_PENDING bit under the PPM lock to avoid another
useless call to ucsi_handle_connector_change() in this case.
Fixes: c9aed03a0a68 ("usb: ucsi: Add missing ppm_lock")
Cc: stable <[email protected]>
Signed-off-by: Christian A. Ehrhardt <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions