|
@@ -2651,6 +2651,7 @@ int mmc_pm_notify(struct notifier_block *notify_block,
|
|
switch (mode) {
|
|
switch (mode) {
|
|
case PM_HIBERNATION_PREPARE:
|
|
case PM_HIBERNATION_PREPARE:
|
|
case PM_SUSPEND_PREPARE:
|
|
case PM_SUSPEND_PREPARE:
|
|
|
|
+ case PM_RESTORE_PREPARE:
|
|
spin_lock_irqsave(&host->lock, flags);
|
|
spin_lock_irqsave(&host->lock, flags);
|
|
host->rescan_disable = 1;
|
|
host->rescan_disable = 1;
|
|
spin_unlock_irqrestore(&host->lock, flags);
|
|
spin_unlock_irqrestore(&host->lock, flags);
|