linux-amlogic.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add IRQ check to the Meson MMC/SD drivers
@ 2021-12-17 20:27 Sergey Shtylyov
  2021-12-17 20:27 ` [PATCH 1/2] mmc: meson-mx-sdhc: add IRQ check Sergey Shtylyov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sergey Shtylyov @ 2021-12-17 20:27 UTC (permalink / raw)
  To: Ulf Hansson, linux-mmc
  Cc: Neil Armstrong, Kevin Hilman, Jerome Brunet, Martin Blumenstingl,
	linux-arm-kernel, linux-amlogic

Here are 2 patches against the 'fixes' branch of Ulf Hansson's 'mmc.git' repo.
The affected drivers call platform_get_irq() but forget to check for the error
case and blithely pass the negative error codes to devm_request_threaded_irq()
(which takes *unsigned* IRQ #). Now stop calling devm_request_threaded_irq()
with the invalid IRQ #s!

Sergey Shtylyov (2):
  mmc: meson-mx-sdhc: add IRQ check
  mmc: meson-mx-sdio: add IRQ check

 drivers/mmc/host/meson-mx-sdhc-mmc.c | 5 +++++
 drivers/mmc/host/meson-mx-sdio.c     | 5 +++++
 2 files changed, 10 insertions(+)

-- 
2.26.3


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

end of thread, other threads:[~2021-12-21 13:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-17 20:27 [PATCH 0/2] Add IRQ check to the Meson MMC/SD drivers Sergey Shtylyov
2021-12-17 20:27 ` [PATCH 1/2] mmc: meson-mx-sdhc: add IRQ check Sergey Shtylyov
2021-12-18 23:21   ` Martin Blumenstingl
2021-12-17 20:27 ` [PATCH 2/2] mmc: meson-mx-sdio: " Sergey Shtylyov
2021-12-18 23:21   ` Martin Blumenstingl
2021-12-21 13:03 ` [PATCH 0/2] Add IRQ check to the Meson MMC/SD drivers Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).