aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-esdhc-imx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/sdhci-esdhc-imx.c')
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index 12711ab51aed..af1f7c0f9545 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -1108,7 +1108,7 @@ static int sdhci_esdhc_imx_remove(struct platform_device *pdev)
1108 pm_runtime_dont_use_autosuspend(&pdev->dev); 1108 pm_runtime_dont_use_autosuspend(&pdev->dev);
1109 pm_runtime_disable(&pdev->dev); 1109 pm_runtime_disable(&pdev->dev);
1110 1110
1111 if (!IS_ENABLED(CONFIG_PM_RUNTIME)) { 1111 if (!IS_ENABLED(CONFIG_PM)) {
1112 clk_disable_unprepare(imx_data->clk_per); 1112 clk_disable_unprepare(imx_data->clk_per);
1113 clk_disable_unprepare(imx_data->clk_ipg); 1113 clk_disable_unprepare(imx_data->clk_ipg);
1114 clk_disable_unprepare(imx_data->clk_ahb); 1114 clk_disable_unprepare(imx_data->clk_ahb);
@@ -1119,7 +1119,7 @@ static int sdhci_esdhc_imx_remove(struct platform_device *pdev)
1119 return 0; 1119 return 0;
1120} 1120}
1121 1121
1122#ifdef CONFIG_PM_RUNTIME 1122#ifdef CONFIG_PM
1123static int sdhci_esdhc_runtime_suspend(struct device *dev) 1123static int sdhci_esdhc_runtime_suspend(struct device *dev)
1124{ 1124{
1125 struct sdhci_host *host = dev_get_drvdata(dev); 1125 struct sdhci_host *host = dev_get_drvdata(dev);