summaryrefslogtreecommitdiff
path: root/samples/workqueue
diff options
context:
space:
mode:
authorAndrei Kuchynski <akuchynski@chromium.org>2026-07-17 13:46:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-08-09 21:26:58 +0300
commitbed97cd6f0ea9f0bb681daf8233830c1df9b18bc (patch)
tree004a8f82eafc4016b0bab7408a858ce82444ed83 /samples/workqueue
parent971962e96618ea2eacdf4631404f5a7c1f553a66 (diff)
downloadlinux-bed97cd6f0ea9f0bb681daf8233830c1df9b18bc.tar.xz
usb: typec: ucsi: Correct teardown ordering in ucsi_init() error path
commit fb0bf289f5d529336ef490c8273e88a8a8b29f69 upstream. The commit 7aa7d4bf9d3f ("usb: typec: ucsi: Fix race condition and ordering in port unregistration") consolidated port teardown into the ucsi_unregister_port() helper. However, it introduced an ordering problem in the ucsi_init() error path. Fix this by ensuring ucsi_unregister_port() is called before we unregister their corresponding lockdep keys. Cc: stable@vger.kernel.org Fixes: 7aa7d4bf9d3f ("usb: typec: ucsi: Fix race condition and ordering in port unregistration") Reported-by: "Borah, Chaitanya Kumar" <chaitanya.kumar.borah@intel.com> Closes: https://lore.kernel.org/all/22064276-6c56-411a-9f20-6917ceeb865f@intel.com/ Signed-off-by: Andrei Kuchynski <akuchynski@chromium.org> Tested-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://patch.msgid.link/20260717104614.325250-1-akuchynski@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/workqueue')
0 files changed, 0 insertions, 0 deletions