]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: core: allow ACPI-managed hard-wired ports to power off
authorSean Rhodes <sean@starlabs.systems>
Sun, 15 Mar 2026 22:34:33 +0000 (22:34 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2026 15:03:55 +0000 (16:03 +0100)
commit8020c41b39f514941d93f3322b598afdce487064
tree1bad2cfbaeaa54d443479bf240d90a823b820adf
parent1f50332c60c2f63118b6c8b41a61d0e43d707743
usb: core: allow ACPI-managed hard-wired ports to power off

USB core only relaxes the default PM_QOS_FLAG_NO_POWER_OFF policy when
an upstream hub reports switchable port power. That misses internal
ports whose power is managed by platform firmware instead of the USB
hub descriptor.

Allow the port-poweroff policy to be exposed for hard-wired ports with
an ACPI-managed power resource. The existing runtime PM path still
requires the child usage count to drop and remote wakeup to be clear
before it will power the port down.

This lets internal devices such as CNVi Bluetooth use the existing USB
ACPI runtime power path even when the root hub reports no USB-standard
port power switching.

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Link: https://patch.msgid.link/20260315223433.23452-1-sean@starlabs.systems
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/port.c