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-05-09 11:13:56 +0200
commitf78afe3c318d2ece838c10295ef6a32d25224825 (patch)
treed89c3eccf7f0baa9c7069682da994bfa700ec4b2
parent172a18de0dbdf3f1f10b21944da85675ae50ed27 (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);