diff options
| author | Andrei Kuchynski <[email protected]> | 2025-03-05 11:17:39 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-03-06 15:55:46 +0000 |
| commit | b13abcb7ddd8d38de769486db5bd917537b32ab1 (patch) | |
| tree | 2190748d35f2d4c3d6231a1a3db92c5c2b87521e /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | usb: quirks: Add DELAY_INIT and NO_LPM for Prolific Mass Storage Card Reader (diff) | |
| download | kernel-b13abcb7ddd8d38de769486db5bd917537b32ab1.tar.gz kernel-b13abcb7ddd8d38de769486db5bd917537b32ab1.zip | |
usb: typec: ucsi: Fix NULL pointer access
Resources should be released only after all threads that utilize them
have been destroyed.
This commit ensures that resources are not released prematurely by waiting
for the associated workqueue to complete before deallocating them.
Cc: stable <[email protected]>
Fixes: b9aa02ca39a4 ("usb: typec: ucsi: Add polling mechanism for partner tasks like alt mode checking")
Signed-off-by: Andrei Kuchynski <[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 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
