We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11b2ce6 commit a56f441Copy full SHA for a56f441
drivers/mmc/host/sdhci-esdhc-imx.c
@@ -1666,9 +1666,10 @@ static int sdhci_esdhc_imx_remove(struct platform_device *pdev)
1666
struct sdhci_host *host = platform_get_drvdata(pdev);
1667
struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
1668
struct pltfm_imx_data *imx_data = sdhci_pltfm_priv(pltfm_host);
1669
- int dead = (readl(host->ioaddr + SDHCI_INT_STATUS) == 0xffffffff);
+ int dead;
1670
1671
pm_runtime_get_sync(&pdev->dev);
1672
+ dead = (readl(host->ioaddr + SDHCI_INT_STATUS) == 0xffffffff);
1673
pm_runtime_disable(&pdev->dev);
1674
pm_runtime_put_noidle(&pdev->dev);
1675
0 commit comments