Re: [PATCH 2/5] usb: dwc3: meson-g12a: fix device leaks at unbind

From: Martin Blumenstingl
Date: Thu Jul 24 2025 - 16:41:20 EST


On Thu, Jul 24, 2025 at 11:19 AM Johan Hovold <johan@xxxxxxxxxx> wrote:
>
> Make sure to drop the references taken to the child devices by
> of_find_device_by_node() during probe on driver unbind.
>
> Fixes: c99993376f72 ("usb: dwc3: Add Amlogic G12A DWC3 glue")
> Cc: stable@xxxxxxxxxxxxxxx # 5.2
> Cc: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>

Thank you for finding and fixing this!