]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/mmc/host/sdhci-esdhc-imx.c
mmc: sdhci-esdhc-imx: Fixup runtime PM conditions during ->probe()
[karo-tx-linux.git] / drivers / mmc / host / sdhci-esdhc-imx.c
index 043866cdd73cb484f9b96e1ac617d88341a3a3c1..10ef8244a239632819fd2f399bf1ee48b2bb8496 100644 (file)
@@ -1080,10 +1080,10 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev)
                goto disable_clk;
 
        pm_runtime_set_active(&pdev->dev);
-       pm_runtime_enable(&pdev->dev);
        pm_runtime_set_autosuspend_delay(&pdev->dev, 50);
        pm_runtime_use_autosuspend(&pdev->dev);
        pm_suspend_ignore_children(&pdev->dev, 1);
+       pm_runtime_enable(&pdev->dev);
 
        return 0;