bug in AT91 MCI suspend routines
authorAnti Sullin <anti.sullin@artecdesign.ee>
Thu, 30 Aug 2007 14:15:16 +0000 (16:15 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 11 Sep 2007 15:21:51 +0000 (17:21 +0200)
commite0cda54e4414e98f0bf72116d8522f4e434f6b4b
treee875e7dad2dacf9a009208a1202ba5d7435e2e2a
parentb67ac3f339c76dfea3cc75fc0285b6d13edc35fa
bug in AT91 MCI suspend routines

This patch fixes a bug in AT91 mmc host driver, that enables the wakeup
from suspend on card detection pin even if the card detect pin is not
available (==0). If not card detection pin is defined, IRQ0 == FIQ gets
enabled and if some activity is present on that pin, the system gets a
FIQ request, that causes a crash.

Signed-off-by: Anti Sullin <anti.sullin@artecdesign.ee>
Signed-off-by: Nicolas Ferre <nicolas.ferre@rfo.atmel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/at91_mci.c