diff options
Diffstat (limited to 'drivers/mmc/host/davinci_mmc.c')
-rw-r--r-- | drivers/mmc/host/davinci_mmc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c index aae39125b8d7..33d9f1b00862 100644 --- a/drivers/mmc/host/davinci_mmc.c +++ b/drivers/mmc/host/davinci_mmc.c | |||
@@ -1337,11 +1337,10 @@ static int davinci_mmcsd_suspend(struct device *dev) | |||
1337 | { | 1337 | { |
1338 | struct platform_device *pdev = to_platform_device(dev); | 1338 | struct platform_device *pdev = to_platform_device(dev); |
1339 | struct mmc_davinci_host *host = platform_get_drvdata(pdev); | 1339 | struct mmc_davinci_host *host = platform_get_drvdata(pdev); |
1340 | struct pm_message msg = { PM_EVENT_SUSPEND }; | ||
1341 | int ret; | 1340 | int ret; |
1342 | 1341 | ||
1343 | mmc_host_enable(host->mmc); | 1342 | mmc_host_enable(host->mmc); |
1344 | ret = mmc_suspend_host(host->mmc, msg); | 1343 | ret = mmc_suspend_host(host->mmc); |
1345 | if (!ret) { | 1344 | if (!ret) { |
1346 | writel(0, host->base + DAVINCI_MMCIM); | 1345 | writel(0, host->base + DAVINCI_MMCIM); |
1347 | mmc_davinci_reset_ctrl(host, 1); | 1346 | mmc_davinci_reset_ctrl(host, 1); |