]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b2c271bb03704fb6f5b33ab8a30b6e432ac5429
treeb26362cc8a0695876b28c5dd52bd3a6812fe745a
parent8b6c1fd760b9ba71b4f3b50eda96f90e2995c492
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