]> 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)
commite307a2faecf2835115c8d7ea26adad29437de031
tree64e3035476499b4ecbe4215dae28248f924e3ea2
parentb662777e49fc95642ae1b39046055d05c80cfdaf
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