mmc: Flush pending detects on host removal
authorPierre Ossman <drzeus@drzeus.cx>
Sun, 11 Feb 2007 19:43:19 +0000 (20:43 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 1 May 2007 11:04:17 +0000 (13:04 +0200)
commit3b91e5507cddaca53bccf1524ff11a0ac5c85531
tree50d0df36aafa5b8f3a0abd5753457e50a3638041
parent1c6a0718f0bfdab0d9b7da5f7b74f38a0058c03a
mmc: Flush pending detects on host removal

Make sure we kill of any pending detection runs when the host
is removed instead of when it is freed. Also add some debugging
to make sure the driver doesn't queue up more detection after it
has removed the host.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/mmc.c
include/linux/mmc/host.h