diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-08-12 17:37:28 +0700 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-09-04 20:06:51 +0200 |
| commit | c9e20e213bb051d02711155de0dc4759de2faddf (patch) | |
| tree | ff2987f3b55536dd73d81a4dd0dfe85bedbfccca /scripts/Makefile.thinlto | |
| parent | a8596bb7148136b9e83980900d508d0ef86507ef (diff) | |
| download | linux-next-c9e20e213bb051d02711155de0dc4759de2faddf.tar.gz linux-next-c9e20e213bb051d02711155de0dc4759de2faddf.zip | |
mtd: rawnand: brcmnand: Propagate errors from optional IRQ lookup
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().
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
