diff options
| author | Heikki Krogerus <[email protected]> | 2024-08-06 11:20:29 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-08-07 10:48:30 +0000 |
| commit | 65ba8cef0416816b912c04850fc2468329994353 (patch) | |
| tree | 94a9c958eb50d35d6fa2636677acd8744b83641d /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | usb: typec: tcpm: avoid sink goto SNK_UNATTACHED state if not received source... (diff) | |
| download | kernel-65ba8cef0416816b912c04850fc2468329994353.tar.gz kernel-65ba8cef0416816b912c04850fc2468329994353.zip | |
usb: typec: ucsi: Fix a deadlock in ucsi_send_command_common()
The function returns with the ppm_lock held if the PPM is
busy or there's an error.
Reported-and-tested-by: Luciano Coelho <[email protected]>
Fixes: 5e9c1662a89b ("usb: typec: ucsi: rework command execution functions")
Signed-off-by: Heikki Krogerus <[email protected]>
Reported-by: Luciano Coelho <[email protected]>
Signed-off-by: Luca Coelho <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
