Re: [PATCH] usb: dwc3: meson: g12a: disable vbus on removal

From: Thinh Nguyen

Date: Fri Dec 04 2026 - 14:32:08 EST


On Thu, Nov 19, 2026, Wang Haoran wrote:
> dwc3_meson_g12a_probe() enables the vbus regulator, but the remove path
> neither disables it nor runs the suspend callback (pm_runtime_disable +
> pm_runtime_set_suspended short-circuits it), so VBUS stays powered after
> the driver is detached. The probe error path already unwinds the regulator,
> so this is simply the missing remove-side counterpart: the USB port keeps
> supplying 5V to an attached device even after the glue driver is unbound.
>
> Disable vbus in the remove path to match probe.
>
> Signed-off-by: Wang Haoran <wanghr2026@xxxxxxxxxxxxxxxxxx>
> Fixes: c99993376f72 ("usb: dwc3: Add Amlogic G12A DWC3 glue")
> ---
>

Please address Sashiko's review.

Thanks,
Thinh