mirror-linux/drivers/phy/ti
Johan Hovold 4914d67da9 phy: ti: gmii-sel: fix regmap leak on probe failure
The mmio regmap that may be allocated during probe is never freed.

Switch to using the device managed allocator so that the regmap is
released on probe failures (e.g. probe deferral) and on driver unbind.

Fixes: 5ab90f4012 ("phy: ti: gmii-sel: Do not use syscon helper to build regmap")
Cc: stable@vger.kernel.org	# 6.14
Cc: Andrew Davis <afd@ti.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Andrew Davis <afd@ti.com>
Link: https://patch.msgid.link/20251127134834.2030-1-johan@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2025-12-23 22:54:58 +05:30
..
Kconfig phy: ti: omap-usb2: enable compile testing 2025-08-13 12:19:24 +05:30
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: remove unneeded 'fast_io' parameter in regmap_config 2025-08-20 21:45:43 +05:30
phy-da8xx-usb.c phy: ti: da8xx-usb: Handle devm_pm_runtime_enable() errors 2025-12-23 22:00:51 +05:30
phy-dm816x-usb.c phy: ti: dm816x-usb: drop unused module alias 2025-08-13 12:19:25 +05:30
phy-gmii-sel.c phy: ti: gmii-sel: fix regmap leak on probe failure 2025-12-23 22:54:58 +05:30
phy-j721e-wiz.c phy: remove unneeded 'fast_io' parameter in regmap_config 2025-08-20 21:45:43 +05:30
phy-omap-control.c phy: ti: omap-control: drop unused module alias 2025-08-13 12:19:25 +05:30
phy-omap-usb2.c phy-for-6.18 2025-10-06 10:34:22 -07:00
phy-ti-pipe3.c phy-for-6.18 2025-10-06 10:34:22 -07:00
phy-tusb1210.c power: supply: Change usb_types from an array into a bitmask 2024-09-03 23:20:28 +02:00
phy-twl4030-usb.c phy: drop probe registration printks 2025-06-16 22:54:21 +05:30