mmc: allow suspended block driver to be removed
authorPierre Ossman <drzeus@drzeus.cx>
Sat, 28 Apr 2007 14:52:12 +0000 (16:52 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 1 May 2007 11:04:17 +0000 (13:04 +0200)
commitd2b46f66b4b342be07a4194bd5e82384d07e470d
treef65f8147e6e338d271ea0d5502cacc31190d06fe
parent3b91e5507cddaca53bccf1524ff11a0ac5c85531
mmc: allow suspended block driver to be removed

Make sure we don't deadlock when removing a suspended block
queue, something that might happen if the card is removed during
suspend.

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