android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Cristian Ciocaltea 0ba8541351 usb: vhci-hcd: Prevent suspending virtually attached devices
[ Upstream commit e40b984b6c4ce3f80814f39f86f87b2a48f2e662 ]

The VHCI platform driver aims to forbid entering system suspend when at
least one of the virtual USB ports are bound to an active USB/IP
connection.

However, in some cases, the detection logic doesn't work reliably, i.e.
when all devices attached to the virtual root hub have been already
suspended, leading to a broken suspend state, with unrecoverable resume.

Ensure the virtually attached devices do not enter suspend by setting
the syscore PM flag.  Note this is currently limited to the client side
only, since the server side doesn't implement system suspend prevention.

Fixes: 04679b3489 ("Staging: USB/IP: add client driver")
Signed-off-by: Cristian Ciocaltea <[email protected]>
Acked-by: Shuah Khan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2025-10-29 13:59:49 +01:00
..
atm usb: atm: cxacru: Merge cxacru_upload_firmware() into cxacru_heavy_init() 2025-08-28 16:21:30 +02:00
c67x00
cdns3 usb: cdns3: Fix deadlock when using NCM gadget 2025-05-02 07:39:27 +02:00
chipidea usb: chipidea: udc: fix sleeping function called from invalid context 2025-08-28 16:21:22 +02:00
class cdc-acm: fix race between initial clearing halt and open 2025-08-28 16:21:34 +02:00
common
core usb: core: Add 0x prefix to quirks debug output 2025-10-02 13:34:33 +02:00
dwc2 usb: dwc2: gadget: remove of_node reference upon udc_stop 2025-03-13 12:43:14 +01:00
dwc3 usb: dwc3: Ignore late xferNotReady event to prevent halt timeout 2025-08-28 16:21:32 +02:00
early usb: early: xhci-dbc: Fix early_ioremap leak 2025-08-28 16:21:19 +02:00
gadget usb: gadget: configfs: Correctly set use_os_string at bind 2025-10-29 13:59:47 +01:00
host usb: host: max3421-hcd: Fix error pointer dereference in probe cleanup 2025-10-29 13:59:47 +01:00
image
isp1760
misc USB: chaoskey: Fix possible deadlock chaoskey_list_lock 2024-12-14 19:44:34 +01:00
mon
mtu3
musb usb: musb: omap2430: fix device leak at unbind 2025-08-28 16:21:35 +02:00
phy usb: phy: twl6030: Fix incorrect type for ret 2025-10-29 13:59:47 +01:00
renesas_usbhs usb: renesas_usbhs: Reorder clock handling and power management in probe 2025-06-27 11:02:48 +01:00
roles usb: roles: set switch registered flag early on 2025-03-13 12:43:14 +01:00
serial USB: serial: option: add SIMCom 8230C compositions 2025-10-29 13:59:45 +01:00
storage USB: storage: Ignore driver CD mode for Realtek multi-mode Wi-Fi dongles 2025-08-28 16:21:32 +02:00
typec usb: typec: fusb302: cache PD RX state 2025-08-28 16:21:34 +02:00
usbip usb: vhci-hcd: Prevent suspending virtually attached devices 2025-10-29 13:59:49 +01:00
Kconfig
Makefile
usb-skeleton.c