Re: [PATCH net 03/10] net: pse-pd: do not keep a failed IRQ in pcdev->irq
From: Kory Maincent
Date: Mon Oct 19 2026 - 05:34:15 EST
On 10/18/26 10:23, Carlo Szelinsky wrote:
devm_pse_irq_helper() keeps the IRQ number in pcdev->irq even when the
IRQ request failed. The failed probe then runs
pse_controller_unregister(), which calls disable_irq() on that line. If
another device owns it, that device stops getting interrupts.
Clear pcdev->irq when the request fails. It is now set before the
request, because pse_isr() can run as soon as the IRQ is enabled and
pse_pw_d_is_sw_pw_control() reads it.
Reviewed-by: Kory Maincent <kory.maincent@xxxxxxxxxxx>
Thank you!
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com