[ARM] 3120/1: Fix MMC/SD card driver resume deadlock
authorUli Luckas <u.luckas@road-gmbh.de>
Mon, 7 Nov 2005 21:22:07 +0000 (21:22 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 7 Nov 2005 21:22:07 +0000 (21:22 +0000)
Patch from Uli Luckas

This is a simplification of patch 3116/1 as sugested by Russell King.

Signed-off-by: Uli Luckas <u.luckas@road-gmbh.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/mmc.c

index ceae379a4d4c56227541582affc855785fc248c5..da528390acf87293292237abddf2bf5cf66b600c 100644 (file)
@@ -1263,7 +1263,7 @@ EXPORT_SYMBOL(mmc_suspend_host);
  */
 int mmc_resume_host(struct mmc_host *host)
 {
-       mmc_detect_change(host, 0);
+       mmc_rescan(host);
 
        return 0;
 }