]> err.no Git - linux-2.6/commit
sdhci: handle hot-remove
authorPierre Ossman <drzeus@drzeus.cx>
Wed, 16 Apr 2008 17:13:13 +0000 (19:13 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 15 Jul 2008 12:14:40 +0000 (14:14 +0200)
commit1e72859e3ae16346d4007024b20d2d4ef387dcc3
tree5fc8319ce14b0770546bbbf9a72c90abaf019317
parent4489428ab5a49a6f443d9aa17f1d891417787d7b
sdhci: handle hot-remove

Gracefully handle when the device is suddenly removed. Do a test read
and avoid any further access if that read returns -1.

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