linux/drivers/phy/ti
Johan Hovold d6ef1c665e 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-09-25 10:58:54 +02:00
..
Kconfig phy: ti: fix Kconfig warning and operator precedence 2023-02-01 08:34:08 +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-04-14 10:38:58 +05:30
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2) 2022-06-10 14:51:35 +02:00
phy-gmii-sel.c phy: ti: gmii-sel: Add support for CPSW5G GMII SEL in J7200 2022-09-13 23:10:26 +05:30
phy-j721e-wiz.c phy: ti: j721e-wiz: Fix unreachable code in wiz_mode_select() 2023-05-11 23:03:37 +09:00
phy-omap-control.c phy: Use device_get_match_data() 2025-09-25 10:58:54 +02:00
phy-omap-usb2.c phy: ti: omap-usb2: fix device leak at unbind 2025-09-25 10:58:54 +02:00
phy-ti-pipe3.c phy: Use device_get_match_data() 2025-09-25 10:58:54 +02:00
phy-tusb1210.c phy: ti: tusb1210: Resolve charger-det crash if charger psy is unregistered 2024-05-02 16:29:31 +02:00
phy-twl4030-usb.c phy: phy-twl4030-usb: Disable PHY for suspend 2021-08-06 17:32:51 +05:30