]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: xhci: plat: Facilitate using autosuspend for xhci plat devices
authorKrishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Tue, 16 Sep 2025 12:04:36 +0000 (17:34 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Sep 2025 10:39:52 +0000 (12:39 +0200)
commit41cf11946b9076383a2222bbf1ef57d64d033f66
treef4f4a646c48d25324c2ab5f36cb4524522821ecb
parent90422219191973d9f534338e6f694bd2f18257d0
usb: xhci: plat: Facilitate using autosuspend for xhci plat devices

Allow autosuspend to be used by xhci plat device. For Qualcomm SoCs,
when in host mode, it is intended that the controller goes to suspend
state to save power and wait for interrupts from connected peripheral
to wake it up. This is particularly used in cases where a HID or Audio
device is connected. In such scenarios, the usb controller can enter
auto suspend and resume action after getting interrupts from the
connected device.

Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250916120436.3617598-1-krishna.kurapati@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.c