sdio: make sleep on error interruptable
authorPierre Ossman <drzeus@drzeus.cx>
Sun, 31 Aug 2008 11:38:54 +0000 (13:38 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Sun, 12 Oct 2008 09:04:28 +0000 (11:04 +0200)
commite633b7bcec8e26991d489a11615acf7674efbaf4
treeb26362cc8a0695876b28c5dd52bd3a6812fe745a
parent04cf585d2902404ed06861c6dc27897100340dba
sdio: make sleep on error interruptable

Make sure we can be woken from the forced sleep that is done on errors.
Removing a card often results in -ENOMEDIUM or -EILSEQ so we previously
locked up the removal process for a second.

We could completely exit on -ENOMEDIUM, but it might be a transient
glitch so treat it like any other error.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/sdio_irq.c