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

phy: ti: omap-usb2: 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: 478b6c74 ("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: default avatarJohan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20250724131206.2211-3-johan@kernel.org


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