All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] mmc: Handle errors from optional IRQ lookup
@ 2026-08-13  5:34 ` phucduc.bui
  0 siblings, 0 replies; 9+ messages in thread
From: phucduc.bui @ 2026-08-13  5:34 UTC (permalink / raw)
  To: Ulf Hansson, Neil Armstrong, Kevin Hilman, Jerome Brunet,
	Martin Blumenstingl, Jisheng Zhang, Stepan Ionichev,
	Colin Ian King, Pedro Demarchi Gomes, Osama Abdelkader, linux-mmc,
	linux-arm-kernel, linux-amlogic
  Cc: linux-kernel, bui duc phuc

From: bui duc phuc <phucduc.bui@gmail.com>

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
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-08-13  5:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-13  5:34 [PATCH v2 0/3] mmc: Handle errors from optional IRQ lookup phucduc.bui
2026-08-13  5:34 ` phucduc.bui
2026-08-13  5:34 ` [PATCH v2 1/3] mmc: meson-gx: " phucduc.bui
2026-08-13  5:34   ` phucduc.bui
2026-08-13  5:34 ` [PATCH v2 2/3] mmc: davinci: " phucduc.bui
2026-08-13  5:34   ` phucduc.bui
2026-08-13  5:34 ` [PATCH v2 3/3] mmc: davinci: Handle optional IRQ return value correctly phucduc.bui
2026-08-13  5:34   ` phucduc.bui
2026-08-13  5:45   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.