From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
To: Wang Haoran <wanghr2026@mail.zgclab.edu.cn>
Cc: Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
"neil.armstrong@linaro.org" <neil.armstrong@linaro.org>,
"khilman@baylibre.com" <khilman@baylibre.com>,
"jbrunet@baylibre.com" <jbrunet@baylibre.com>,
"martin.blumenstingl@googlemail.com"
<martin.blumenstingl@googlemail.com>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-amlogic@lists.infradead.org"
<linux-amlogic@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] usb: dwc3: meson: g12a: disable vbus on removal
Date: Fri, 4 Dec 2026 19:31:33 +0000 [thread overview]
Message-ID: <axMUztJ3qZM2exWG@vbox> (raw)
In-Reply-To: <1795076109480-15-f562c8e5@mail.zgclab.edu.cn>
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@mail.zgclab.edu.cn>
> Fixes: c99993376f72 ("usb: dwc3: Add Amlogic G12A DWC3 glue")
> ---
>
Please address Sashiko's review.
Thanks,
Thinh
WARNING: multiple messages have this Message-ID (diff)
From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
To: Wang Haoran <wanghr2026@mail.zgclab.edu.cn>
Cc: Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
"neil.armstrong@linaro.org" <neil.armstrong@linaro.org>,
"khilman@baylibre.com" <khilman@baylibre.com>,
"jbrunet@baylibre.com" <jbrunet@baylibre.com>,
"martin.blumenstingl@googlemail.com"
<martin.blumenstingl@googlemail.com>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-amlogic@lists.infradead.org"
<linux-amlogic@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] usb: dwc3: meson: g12a: disable vbus on removal
Date: Fri, 4 Dec 2026 19:31:33 +0000 [thread overview]
Message-ID: <axMUztJ3qZM2exWG@vbox> (raw)
In-Reply-To: <1795076109480-15-f562c8e5@mail.zgclab.edu.cn>
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@mail.zgclab.edu.cn>
> Fixes: c99993376f72 ("usb: dwc3: Add Amlogic G12A DWC3 glue")
> ---
>
Please address Sashiko's review.
Thanks,
Thinh
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2026-12-04 19:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 8:15 [PATCH] usb: dwc3: meson: g12a: disable vbus on removal Wang Haoran
2026-11-19 8:15 ` Wang Haoran
2026-11-19 8:26 ` sashiko-bot
2026-11-19 8:26 ` sashiko-bot
2026-12-04 19:31 ` Thinh Nguyen [this message]
2026-12-04 19:31 ` Thinh Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=axMUztJ3qZM2exWG@vbox \
--to=thinh.nguyen@synopsys.com \
--cc=gregkh@linuxfoundation.org \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=neil.armstrong@linaro.org \
--cc=wanghr2026@mail.zgclab.edu.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.