kernel_samsung_a53x/drivers/usb
Basavaraj Natikar 2f42a30b2b xhci: Use pm_runtime_get to prevent RPM on unsupported systems
commit 31004740e42846a6f0bb255e6348281df3eb8032 upstream.

Use pm_runtime_put in the remove function and pm_runtime_get to disable
RPM on platforms that don't support runtime D3, as re-enabling it through
sysfs auto power control may cause the controller to malfunction. This
can lead to issues such as hotplug devices not being detected due to
failed interrupt generation.

Fixes: a5d6264b638e ("xhci: Enable RPM on controllers that support low-power states")
Cc: stable <stable@kernel.org>
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20241024133718.723846-1-Basavaraj.Natikar@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:22:05 +01:00
..
atm usb: atm: cxacru: fix endpoint checking in cxacru_bind() 2024-11-19 14:19:34 +01:00
c67x00
cdns3
chipidea usb: chipidea: udc: enable suspend interrupt after usb reset 2024-11-23 23:21:50 +01:00
class USB: class: CDC-ACM: fix race between get_serial and set_serial 2024-11-23 23:21:30 +01:00
common
core usb: core: sysfs: Unmerge @usb3_hardware_lpm_attr_group in remove_power_attributes() 2024-11-23 23:20:55 +01:00
dwc2 usb: dwc2: Adjust the timing of USB Driver Interrupt Registration in the Crashkernel Scenario 2024-11-23 23:21:50 +01:00
dwc3 usb: dwc3: core: Stop processing of pending events if controller is halted 2024-11-23 23:21:52 +01:00
early
gadget usb: gadget: fsl: Increase size of name buffer for endpoints 2024-11-23 23:20:46 +01:00
host xhci: Use pm_runtime_get to prevent RPM on unsupported systems 2024-11-23 23:22:05 +01:00
image
isp1760
misc Revert "usb: yurex: Replace snprintf() with the safer scnprintf() variant" 2024-11-23 23:21:52 +01:00
mon
mtu3
musb usb: musb: da8xx: fix a resource leak in probe() 2024-11-19 14:19:33 +01:00
notify
notify_lsi
phy usb: phy: Fix API devm_usb_put_phy() can not release the phy 2024-11-23 23:22:04 +01:00
renesas_usbhs
roles
serial USB: serial: option: add Telit FN920C04 MBIM compositions 2024-11-23 23:21:56 +01:00
storage usb: storage: ignore bogus device raised by JieLi BR21 USB sound chip 2024-11-23 23:21:53 +01:00
typec usb: typec: altmode should keep reference to parent 2024-11-23 23:21:59 +01:00
usbip usbip: Don't submit special requests twice 2024-11-23 23:20:58 +01:00
Kconfig
Kconfig.variant1
Makefile
Makefile.variant1
usb-skeleton.c