linux/drivers/phy/ti
Johan Hovold ca9e4e6a87 phy: ti: omap-usb2: fix device leak at unbind
[ Upstream commit 64961557ef ]

Make sure to drop the reference to the control device taken by
of_find_device_by_node() during probe when the driver is unbound.

Fixes: 478b6c7436 ("usb: phy: omap-usb2: Don't use omap_get_control_dev()")
Cc: stable@vger.kernel.org	# 3.13
Cc: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20250724131206.2211-3-johan@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-10-02 13:39:09 +02:00
..
Kconfig phy: ti: fix Kconfig warning and operator precedence 2023-02-01 08:27:07 +01:00
Makefile phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC 2020-01-14 10:50:19 +05:30
phy-am654-serdes.c phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe 2022-05-09 09:14:33 +02:00
phy-da8xx-usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
phy-dm816x-usb.c phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe() 2021-06-21 12:04:18 +05:30
phy-gmii-sel.c phy: ti: gmii-sel: check of_get_address() for failure 2021-11-18 19:16:55 +01:00
phy-j721e-wiz.c phy: ti: Fix missing sentinel for clk_div_table 2022-02-16 12:56:37 +01:00
phy-omap-control.c phy: Use device_get_match_data() 2025-10-02 13:39:08 +02:00
phy-omap-usb2.c phy: ti: omap-usb2: fix device leak at unbind 2025-10-02 13:39:09 +02:00
phy-ti-pipe3.c phy: Use device_get_match_data() 2025-10-02 13:39:08 +02:00
phy-tusb1210.c phy: tusb1210: use bitmasks to set VENDOR_SPECIFIC2 2021-03-12 15:33:05 +05:30
phy-twl4030-usb.c phy: phy-twl4030-usb: Disable PHY for suspend 2021-08-06 17:32:51 +05:30