[PATCH] mtd: rawnand: brcmnand: Propagate errors from optional IRQ lookup

Miquel Raynal miquel.raynal at bootlin.com
Fri Sep 4 11:08:52 PDT 2026


On Wed, 12 Aug 2026 17:37:28 +0700, phucduc.bui at gmail.com wrote:
> platform_get_irq_optional() returns a positive IRQ number on success or
> a negative error code on failure. For an optional IRQ, -ENXIO indicates
> that no optional IRQ is available, in which case the driver falls back
> to using the ctlrdy IRQ. Other errors should be propagated so that the
> caller can handle them appropriately.
> 
> Treat -ENXIO as the only case where the driver falls back to the ctlrdy
> IRQ, and propagate all other errors returned by
> platform_get_irq_optional().
> 
> [...]

Applied to nand/next, thanks!

[1/1] mtd: rawnand: brcmnand: Propagate errors from optional IRQ lookup
      commit: c9e20e213bb051d02711155de0dc4759de2faddf

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl




More information about the linux-mtd mailing list