mirror-linux/drivers/phy/tegra
Johan Hovold bca065733a phy: tegra: xusb: fix device and OF node leak at probe
Make sure to drop the references taken to the PMC OF node and device by
of_parse_phandle() and of_find_device_by_node() during probe.

Note the holding a reference to the PMC device does not prevent the
PMC regmap from going away (e.g. if the PMC driver is unbound) so there
is no need to keep the reference.

Fixes: 2d10214872 ("phy: tegra: xusb: Add wake/sleepwalk for Tegra210")
Cc: stable@vger.kernel.org	# 5.14
Cc: JC Kuo <jckuo@nvidia.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250724131206.2211-2-johan@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2025-08-12 21:30:00 +05:30
..
Kconfig phy: tegra: p2u: Broaden architecture dependency 2025-05-14 12:28:04 +01:00
Makefile phy: tegra: xusb: Add Tegra234 support 2023-01-12 22:57:06 +05:30
phy-tegra194-p2u.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
xusb-tegra124.c phy: tegra: xusb: Remove usb3 supply 2022-11-07 10:20:25 +05:30
xusb-tegra186.c phy: tegra: xusb: Fix unbalanced regulator disable in UTMI PHY mode 2025-06-15 19:48:56 +05:30
xusb-tegra210.c phy: tegra: xusb: fix device and OF node leak at probe 2025-08-12 21:30:00 +05:30
xusb.c phy: Fix error handling in tegra_xusb_port_init 2025-05-14 12:28:43 +01:00
xusb.h phy: tegra: xusb: Decouple CYA_TRK_CODE_UPDATE_ON_IDLE from trk_hw_mode 2025-06-15 19:46:01 +05:30