Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
Something went wrong. Try again.
mmc: davinci: Handle optional IRQ return value correctly
host->sdio_irq is assigned from platform_get_irq_optional(), which returns a positive IRQ number on success or a negative error code on failure. Therefore, 0 is not a possible return value from this API. Check for a positive IRQ number before requesting the SDIO IRQ instead of treating zero as a valid IRQ. Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Author bui duc phuc Committer Ulf Hansson Date (Sep 8, 2026, 3:26 PM UTC) Commit
Copy SHA
Parent 31a43e75 31a43e75e2d4b2b21fbd825a26550cbf6a3ba7b1