summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2016-08-10 15:40:33 +0000
committerRich Felker <dalias@libc.org>2016-08-10 15:40:45 +0000
commit127f81a6268d7ca52ba63732fbf50a2f09a57002 (patch)
tree2052e4cefd0ba4acbaeb505c4ecee7ad19f100ce
parente1877a80ca92426142609468750efc39b6d60333 (diff)
downloadlinux-sh-127f81a6268d7ca52ba63732fbf50a2f09a57002.tar.gz
mmc: revert 4d9135a: mmc: disable rescan for card changejcore-4.6-20160810
Fix of the underlying bug makes this hack no longer necessary. Signed-off-by: Rich Felker <dalias@libc.org>
-rw-r--r--drivers/mmc/core/core.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 38b73b6bf37e..41b1e761965f 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -2634,9 +2634,8 @@ void mmc_rescan(struct work_struct *work)
mmc_release_host(host);
out:
-// if (host->caps & MMC_CAP_NEEDS_POLL)
-// mmc_schedule_delayed_work(&host->detect, HZ);
-;
+ if (host->caps & MMC_CAP_NEEDS_POLL)
+ mmc_schedule_delayed_work(&host->detect, HZ);
}
void mmc_start_host(struct mmc_host *host)