From f78afe3c318d2ece838c10295ef6a32d25224825 Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Thu, 17 Jan 2019 14:52:45 +0100 Subject: 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 --- drivers/mmc/host/sdhci-esdhc-imx.c | 2 -- 1 file changed, 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); -- cgit v1.2.3