kernel_samsung_a53x/drivers/usb
Zijun Hu 4e74c15e15 usb: phy: Fix API devm_usb_put_phy() can not release the phy
commit fdce49b5da6e0fb6d077986dec3e90ef2b094b50 upstream.

For devm_usb_put_phy(), its comment says it needs to invoke usb_put_phy()
to release the phy, but it does not do that actually, so it can not fully
undo what the API devm_usb_get_phy() does, that is wrong, fixed by using
devres_release() instead of devres_destroy() within the API.

Fixes: cedf8602373a ("usb: phy: move bulk of otg/otg.c to phy/phy.c")
Cc: stable@vger.kernel.org
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20241020-usb_phy_fix-v1-1-7f79243b8e1e@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:22:04 +01:00
..
atm
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
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
host xhci: Fix incorrect stream context type macro 2024-11-23 23:21:56 +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
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
Kconfig
Kconfig.variant1
Makefile
Makefile.variant1
usb-skeleton.c