]> git.baikalelectronics.ru Git - kernel.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)
commitfc68f66ff30050ba06716991e99ebd688e2679b1
tree64e3035476499b4ecbe4215dae28248f924e3ea2
parent7e6e8233e3e9b86d0f9163248bce662e1760a1a0
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