Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] usb: host: Disable controller wakeup on removal
@ 2026-09-13 22:37 Myeonghun Pak
  2026-09-13 22:37 ` [PATCH 3/3] usb: ohci-exynos: " Myeonghun Pak
  0 siblings, 1 reply; 2+ messages in thread
From: Myeonghun Pak @ 2026-09-13 22:37 UTC (permalink / raw)
  To: stern, gregkh
  Cc: linux-usb, linux-kernel, krzk, peter.griffin, alim.akhtar,
	linux-arm-kernel, linux-samsung-soc

These three independent patches balance the controller wakeup enable in
the generic EHCI, generic OHCI and Exynos OHCI drivers. Each disables
controller wakeup after usb_remove_hcd(), before releasing the remaining
driver-owned resources. No shared USB core behavior is changed.

For generic EHCI, a wakeup-capable ACPI companion provides the capability
setting through acpi_bind_one(). For the two OHCI drivers, ohci_run() sets
controller capability when OHCI_CTRL_RWC is present. If probe successfully
enables wakeup, the attached source otherwise survives ordinary driver
unbind because the controller device itself remains registered.

This issue was identified during our ongoing static-analysis research while
reviewing kernel code. The patches and explanations were prepared with LLM
assistance.

Compile-tested only; no hardware runtime testing was performed.

Myeonghun Pak (3):
  usb: ehci-platform: Disable controller wakeup on removal
  usb: ohci-platform: Disable controller wakeup on removal
  usb: ohci-exynos: Disable controller wakeup on removal

 drivers/usb/host/ehci-platform.c | 1 +
 drivers/usb/host/ohci-exynos.c   | 1 +
 drivers/usb/host/ohci-platform.c | 1 +
 3 files changed, 3 insertions(+)

base-commit: fd73f4a6659897191fa0d40695fe370925dd3780


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-13 22:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-13 22:37 [PATCH 0/3] usb: host: Disable controller wakeup on removal Myeonghun Pak
2026-09-13 22:37 ` [PATCH 3/3] usb: ohci-exynos: " Myeonghun Pak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox