[PATCH v2 0/3] mmc: Handle errors from optional IRQ lookup
| Newsgroups | org.infradead.lists.linux-amlogic,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-mmc |
|---|---|
| Message-ID | <[email protected]> |
From: bui duc phuc <[email protected]> Hi all, This series improves error handling for optional IRQ lookups in several MMC drivers. I noticed that mmc: litex_mmc handles the return value from platform_get_irq_optional() correctly, distinguishing the case where an optional IRQ is not available from other errors. This series follows the same approach in the affected drivers. Changes in v2: - Use parse_fail for proper cleanup on IRQ lookup errors. - Initialize cd_irq to -ENXIO. Best regards, Phuc bui duc phuc (3): mmc: meson-gx: Handle errors from optional IRQ lookup mmc: davinci: Handle errors from optional IRQ lookup mmc: davinci: Handle optional IRQ return value correctly drivers/mmc/host/davinci_mmc.c | 6 +++++- drivers/mmc/host/meson-gx-mmc.c | 9 +++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) -- 2.43.0 _______________________________________________ linux-amlogic mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-amlogic