diff options
author | Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | 2025-05-07 15:50:29 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2025-05-14 14:25:09 +0300 |
commit | de76809f60cc938d3580bbbd5b04b7d12af6ce3a (patch) | |
tree | 8ab356140fbf728ba28418f2f5a7bf28e6cd182a /scripts/extract-fwblobs | |
parent | 54c4c58713aaff76c2422ff5750e557ab3b100d7 (diff) | |
download | linux-de76809f60cc938d3580bbbd5b04b7d12af6ce3a.tar.xz |
phy: renesas: rcar-gen3-usb2: Move IRQ request in probe
Commit 08b0ad375ca6 ("phy: renesas: rcar-gen3-usb2: move IRQ registration
to init") moved the IRQ request operation from probe to
struct phy_ops::phy_init API to avoid triggering interrupts (which lead to
register accesses) while the PHY clocks (enabled through runtime PM APIs)
are not active. If this happens, it results in a synchronous abort.
One way to reproduce this issue is by enabling CONFIG_DEBUG_SHIRQ, which
calls free_irq() on driver removal.
Move the IRQ request and free operations back to probe, and take the
runtime PM state into account in IRQ handler. This commit is preparatory
for the subsequent fixes in this series.
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://lore.kernel.org/r/20250507125032.565017-3-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions