summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2019-01-17 14:52:45 +0100
committerPhilippe Schenker <philippe.schenker@toradex.com>2019-01-17 15:06:56 +0100
commit1a19508247f21b5eb2f1b15003a6145b17aa2b76 (patch)
tree3006e086074177991ce51df805e7b924468d2a49
parent3bc7ddfaa8f06bf5916eb4e5da14fad0bc533bb9 (diff)
Revert "mmc: sdhci-esdhc-imx: make sure runtime PM is suspended in system suspend"
This reverts commit 7696e076a3f7616003e440389c6e86f0bb56a0e4. In 4.9-2.3.x of NXP BSP this commit is no longer needed. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index e8bdbe42a6af..9299bc91de97 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -1611,7 +1611,6 @@ static int sdhci_esdhc_suspend(struct device *dev)
mmc_retune_needed(host->mmc);
ret = sdhci_suspend_host(host);
- pm_runtime_force_suspend(dev);
pinctrl_pm_select_sleep_state(dev);
@@ -1655,7 +1654,6 @@ static int sdhci_esdhc_resume(struct device *dev)
if (host->mmc->caps2 & MMC_CAP2_CQE)
ret = cqhci_resume(host->mmc);
- pm_runtime_force_resume(dev);
pm_runtime_mark_last_busy(dev);
pm_runtime_put_autosuspend(dev);