]> git.baikalelectronics.ru Git - kernel.git/commit
sdhci: make isr tolerant of read errors
authorMark Lord <lkml@rtr.ca>
Tue, 6 Mar 2007 12:30:13 +0000 (13:30 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 6 Mar 2007 12:30:13 +0000 (13:30 +0100)
commite7299e550c49a283fa3da7fff56818860c8148d8
tree74f915f9a1c716d2efdb55bdf485df4b145e1a2e
parente6209789108623a4dc24baacf17c6e7e1fb55189
sdhci: make isr tolerant of read errors

The interrupt is shared with another device, which resumes earlier than the
sdhci controller, and generates an interrupt.

The sdhci interrupt handler runs, sees 0xffffffff in its own device's
interrupt status, and tries to handle it..  The reason for the 0xffffffff
is that the device is still suspended, and *all* regs are reading back
0xffffffff.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/sdhci.c