diff options
author | Johan Hovold <johan@kernel.org> | 2025-07-24 11:19:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-25 10:50:43 +0200 |
commit | 086a0e516f7b3844e6328a5c69e2708b66b0ce18 (patch) | |
tree | 72a5cf1bcd86427348032a4a80ad1395ce769c32 /scripts/rustdoc_test_gen.rs | |
parent | 22fcf88b02e262d3b41215ebc70912b0482aef95 (diff) |
usb: dwc3: imx8mp: fix device leak at unbind
Make sure to drop the reference to the dwc3 device taken by
of_find_device_by_node() on probe errors and on driver unbind.
Fixes: 6dd2565989b4 ("usb: dwc3: add imx8mp dwc3 glue layer driver")
Cc: stable@vger.kernel.org # 5.12
Cc: Li Jun <jun.li@nxp.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20250724091910.21092-2-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions