summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorTony Lin <tony.lin@freescale.com>2012-02-08 14:03:11 +0800
committerTony Lin <tony.lin@freescale.com>2012-02-08 14:06:54 +0800
commitd876fa4fa276f9644613816810b27a4e730297c2 (patch)
treec7231c0cf58f1ac8a04fff3a49f7ce64d2dc6c9d /drivers/mmc
parent03537d74aff37920c298d96776713920090b4c75 (diff)
ENGR00171642 [MX6Q_Lite]Power:suspend and resume stress test failed
add bus suspend/resume function to prevent SDMMC suspend/resume stess test fail Signed-off-by: Tony Lin <tony.lin@freescale.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/core/bus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/core/bus.c b/drivers/mmc/core/bus.c
index 393d817ed040..56eb05649bff 100644
--- a/drivers/mmc/core/bus.c
+++ b/drivers/mmc/core/bus.c
@@ -167,6 +167,8 @@ static const struct dev_pm_ops mmc_bus_pm_ops = {
.runtime_suspend = mmc_runtime_suspend,
.runtime_resume = mmc_runtime_resume,
.runtime_idle = mmc_runtime_idle,
+ .suspend = mmc_bus_suspend,
+ .resume = mmc_bus_resume,
};
#define MMC_PM_OPS_PTR (&mmc_bus_pm_ops)