usb: add missing pm_runtime_dont_use_autosuspend() calls
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | usb: core: add missing pm_runtime_dont_use_autosuspend() calldrivers/ | +1 | 4 replies | |
| 2/6 | usb: xhci-mtk: add missing pm_runtime_dont_use_autosuspend() calldrivers/ | +2 | 2 replies | |
| 3/6 | usb: xhci: add missing pm_runtime_dont_use_autosuspend() callsdrivers/ | +2 | 0 replies | |
| 4/6 | usb: typec: ucsi: ccg: add missing pm_runtime_dont_use_autosuspend() calldrivers/ | +1 | 1 reply | |
| 5/6 | usb: mtu3: add missing pm_runtime_dont_use_autosuspend() callsdrivers/ | +2 | 1 reply | |
| 6/6 | usb: cdns3: add missing pm_runtime_dont_use_autosuspend() calldrivers/ | +1 | 1 reply |
Reviews trailers per patch
4 of 6 patches have a Reviewed-by or Acked-by.
| Patch | AngeloGioacchino Del Regno | Alan Stern | Heikki Krogerus |
|---|---|---|---|
| 1/6 | A-b | ||
| 2/6 | R-b | ||
| 3/6 | |||
| 4/6 | R-b | ||
| 5/6 | R-b | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/6] usb: add missing pm_runtime_dont_use_autosuspend() calls
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/[email protected]/
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(+)
Signature · 1 line
2.47.3