From: sashiko-bot@kernel.org
To: "Arina Kharlamova" <arina.kharlamova@mbzuai.ac.ae>
Cc: linux-usb@vger.kernel.org
Subject: Re: [PATCH] usb: dwc3: meson-g12a: disable the OTG ID interrupt at unbind
Date: Sun, 29 Nov 2026 07:38:09 +0000 [thread overview]
Message-ID: <sashiko-outbox-239395@kernel.org> (raw)
In-Reply-To: <20261129-s2p-d88-v1-1-8cdfa0ca7bf8@mbzuai.ac.ae>
> From: Arina Kharlamova <arina.kharlamova@mbzuai.ac.ae>
>
> The OTG ID interrupt is requested with devm and is only freed after
> dwc3_meson_g12a_remove() returns, but remove() already powers off and
> exits the PHYs and disables the glue clocks. An ID pin change in that
> window runs dwc3_meson_g12a_irq_thread(), which switches the PHY mode
> on PHYs that were exited and writes the glue registers with the clocks
> off.
>
> Keep the interrupt number and disable the interrupt at the start of
> remove().
>
> Fixes: f90db10779ad ("usb: dwc3: meson-g12a: Add support for IRQ based OTG switching")
> Signed-off-by: Arina Kharlamova <arina.kharlamova@mbzuai.ac.ae>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261129-s2p-d88-v1-1-8cdfa0ca7bf8@mbzuai.ac.ae?part=1
prev parent reply other threads:[~2026-11-29 7:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 7:30 [PATCH] usb: dwc3: meson-g12a: disable the OTG ID interrupt at unbind Arina Kharlamova
2026-11-29 7:30 ` Arina Kharlamova via B4 Relay
2026-11-29 7:30 ` Arina Kharlamova via B4 Relay
2026-11-29 7:38 ` sashiko-bot [this message]
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=sashiko-outbox-239395@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=arina.kharlamova@mbzuai.ac.ae \
--cc=linux-usb@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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.