]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: mvsdio: workaround for spurious irqs
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Sat, 26 Apr 2014 19:34:14 +0000 (21:34 +0200)
committerChris Ball <chris@printf.net>
Mon, 12 May 2014 22:05:46 +0000 (18:05 -0400)
commitb78871d0cf13d37e7bdcf39c49782ca3885343bc
tree64e3035476499b4ecbe4215dae28248f924e3ea2
parentfcf902bea30a57bd6fa8820619ecdce51e847832
mmc: mvsdio: workaround for spurious irqs

SDIO controllers found on Marvell Kirkwood SoCs seem to cause a late,
spurious irq although all interrupts have been disabled. This irq
doesn't do any harm, neither to HW nor driver. To avoid some
"unexpected irq" warning later, we workaround above issue by bailing
out of irq handler early, if we didn't expect any.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/mvsdio.c