aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core
diff options
context:
space:
mode:
authorJeremy Erickson <jerickso@cs.unc.edu>2014-04-11 13:24:45 -0400
committerJeremy Erickson <jerickso@cs.unc.edu>2014-04-11 13:24:45 -0400
commit438145c7ef5c9445f25bb8fc4d52e2c9d11fdc7c (patch)
tree76941991e36f4a32bf1be0db3854959053f24619 /drivers/mmc/core
parent9ddd1b8ad8abd321964b8add5581910de6d67c2a (diff)
Update from 2.6.36 to 2.6.36.4wip-dissipation-jerickso
Diffstat (limited to 'drivers/mmc/core')
-rw-r--r--drivers/mmc/core/core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 09eee6df0653..994454295184 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -1514,7 +1514,7 @@ void mmc_stop_host(struct mmc_host *host)
1514 1514
1515 if (host->caps & MMC_CAP_DISABLE) 1515 if (host->caps & MMC_CAP_DISABLE)
1516 cancel_delayed_work(&host->disable); 1516 cancel_delayed_work(&host->disable);
1517 cancel_delayed_work(&host->detect); 1517 cancel_delayed_work_sync(&host->detect);
1518 mmc_flush_scheduled_work(); 1518 mmc_flush_scheduled_work();
1519 1519
1520 /* clear pm flags now and let card drivers set them as needed */ 1520 /* clear pm flags now and let card drivers set them as needed */
@@ -1720,6 +1720,7 @@ int mmc_pm_notify(struct notifier_block *notify_block,
1720 1720
1721 case PM_POST_SUSPEND: 1721 case PM_POST_SUSPEND:
1722 case PM_POST_HIBERNATION: 1722 case PM_POST_HIBERNATION:
1723 case PM_POST_RESTORE:
1723 1724
1724 spin_lock_irqsave(&host->lock, flags); 1725 spin_lock_irqsave(&host->lock, flags);
1725 host->rescan_disable = 0; 1726 host->rescan_disable = 0;