1
linux/drivers/usb/phy
Zijun Hu fdce49b5da usb: phy: Fix API devm_usb_put_phy() can not release the phy
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: cedf860237 ("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-10-29 04:37:48 +01:00
..
Kconfig
Makefile
of.c
phy-ab8500-usb.c
phy-am335x-control.c usb: phy: add missing MODULE_DESCRIPTION() macros 2024-06-20 19:18:32 +02:00
phy-am335x-control.h
phy-am335x.c usb: phy: add missing MODULE_DESCRIPTION() macros 2024-06-20 19:18:32 +02:00
phy-fsl-usb.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
phy-fsl-usb.h
phy-generic.c usb: phy-generic: add short delay after pulling the reset pin 2024-04-09 17:37:35 +02:00
phy-generic.h
phy-gpio-vbus-usb.c usb: phy: phy-gpio-vbus-usb: fix module autoloading 2024-08-25 13:45:56 +02:00
phy-isp1301.c
phy-keystone.c
phy-mv-usb.c
phy-mv-usb.h
phy-mxs-usb.c usb: phy: mxs: enable weak 1p1 regulator for imx6ul during suspend 2024-08-13 10:32:26 +02:00
phy-omap-otg.c
phy-tahvo.c
phy-tegra-usb.c
phy-twl6030-usb.c
phy-ulpi-viewport.c
phy-ulpi.c
phy.c usb: phy: Fix API devm_usb_put_phy() can not release the phy 2024-10-29 04:37:48 +01:00