Commit e19bcea9 authored by Johan Hovold's avatar Johan Hovold Committed by Vinod Koul
Browse files

phy: ti-pipe3: fix device leak at unbind



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: 918ee0d2 ("usb: phy: omap-usb3: Don't use omap_get_control_dev()")
Cc: stable@vger.kernel.org	# 3.13
Cc: Roger Quadros <rogerq@kernel.org>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20250724131206.2211-4-johan@kernel.org


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 64961557
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment