[PATCH 0/6] usb: add missing pm_runtime_dont_use_autosuspend() calls
Joshua Crofts
joshua.crofts1 at gmail.com
Tue Sep 15 02:02:17 PDT 2026
Several drivers in the USB subsystem forget to call dont_use_autosuspend()
on teardown or error, causing potential resource leaks. This series adds
the missing calls.
The offending drivers were found using a semantic patch for Coccinelle
I'm working on [1].
[1] https://lore.kernel.org/all/20260915064327.1377-1-joshua.crofts1@gmail.com/
Joshua Crofts (6):
usb: core: add missing pm_runtime_dont_use_autosuspend() call
usb: xhci-mtk: add missing pm_runtime_dont_use_autosuspend() call
usb: xhci: add missing pm_runtime_dont_use_autosuspend() calls
usb: typec: ucsi: ccg: add missing pm_runtime_dont_use_autosuspend()
call
usb: mtu3: add missing pm_runtime_dont_use_autosuspend() calls
usb: cdns3: add missing pm_runtime_dont_use_autosuspend() call
drivers/usb/cdns3/cdns3-plat.c | 1 +
drivers/usb/core/hub.c | 1 +
drivers/usb/host/xhci-mtk.c | 2 ++
drivers/usb/host/xhci-plat.c | 2 ++
drivers/usb/mtu3/mtu3_plat.c | 2 ++
drivers/usb/typec/ucsi/ucsi_ccg.c | 1 +
6 files changed, 9 insertions(+)
--
2.47.3
More information about the linux-arm-kernel
mailing list