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 usb: phy: remove phy-isp1301-omap driver 2023-01-12 10:53:11 +01:00
Makefile usb: phy: remove phy-isp1301-omap driver 2023-01-12 10:53:11 +01:00
of.c
phy-ab8500-usb.c usb: phy: ab8500: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
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 USB: phy: fsl-usb: remove character device usage 2020-07-03 10:18:41 +02:00
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 usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
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 usb: Switch i2c drivers back to use .probe() 2023-05-29 15:53:11 +01:00
phy-keystone.c usb: phy: keystone: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-mv-usb.c usb: phy: mv: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-mv-usb.h USB: phy: Use the correct style for SPDX License Identifier 2020-04-23 15:28:14 +02:00
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 extcon: Fix extcon_get_extcon_dev() error handling 2022-05-13 17:03:40 +09:00
phy-tahvo.c usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe() 2023-05-29 15:49:16 +01:00
phy-tegra-usb.c usb: Explicitly include correct DT includes 2023-07-25 18:20:02 +02:00
phy-twl6030-usb.c usb: phy: twl6030: Remove snprintf() from sysfs call-backs and replace with sysfs_emit() 2023-12-15 13:55:30 +01:00
phy-ulpi-viewport.c usb: phy-ulpi-viewport: convert to readl_poll_timeout_atomic() 2020-09-25 16:30:05 +02:00
phy-ulpi.c usb: ulpi: Add resource-managed variant of otg_ulpi_create() 2020-01-09 16:21:57 +01:00
phy.c usb: phy: Fix API devm_usb_put_phy() can not release the phy 2024-10-29 04:37:48 +01:00