aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristian A. Ehrhardt <[email protected]>2024-01-21 21:41:21 +0100
committerGreg Kroah-Hartman <[email protected]>2024-01-27 17:41:58 -0800
commitc9aed03a0a683fd1600ea92f2ad32232d4736272 (patch)
tree8d02cc3570b876b8aaf7c9c34213a17eac3f7881 /tools/perf/scripts/python/export-to-postgresql.py
parent3caf2b2ad7334ef35f55b95f3e1b138c6f77b368 (diff)
usb: ucsi: Add missing ppm_lock
Calling ->sync_write must be done while holding the PPM lock as the mailbox logic does not support concurrent commands. At least since the addition of partner task this means that ucsi_acknowledge_connector_change should be called with the PPM lock held as it calls ->sync_write. Thus protect the only call to ucsi_acknowledge_connector_change with the PPM. All other calls to ->sync_write already happen under the PPM lock. Fixes: b9aa02ca39a4 ("usb: typec: ucsi: Add polling mechanism for partner tasks like alt mode checking") Cc: [email protected] Signed-off-by: "Christian A. Ehrhardt" <[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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions