mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
usb: gadget: udc: renesas_usb3: fix device leak at unbind
commit868837b0a9upstream. Make sure to drop the reference to the companion device taken during probe when the driver is unbound. Fixes:39facfa01c("usb: gadget: udc: renesas_usb3: Add register of usb role switch") Cc: stable@vger.kernel.org # 4.19 Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://lore.kernel.org/r/20250724091910.21092-4-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
42f86088b7
commit
4997027888
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue