We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6f83d5 commit 218e7b2Copy full SHA for 218e7b2
drivers/mmc/host/sdhci-esdhc-imx.c
@@ -1589,9 +1589,10 @@ static int sdhci_esdhc_imx_remove(struct platform_device *pdev)
1589
struct sdhci_host *host = platform_get_drvdata(pdev);
1590
struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
1591
struct pltfm_imx_data *imx_data = sdhci_pltfm_priv(pltfm_host);
1592
- int dead = (readl(host->ioaddr + SDHCI_INT_STATUS) == 0xffffffff);
+ int dead;
1593
1594
pm_runtime_get_sync(&pdev->dev);
1595
+ dead = (readl(host->ioaddr + SDHCI_INT_STATUS) == 0xffffffff);
1596
pm_runtime_disable(&pdev->dev);
1597
pm_runtime_put_noidle(&pdev->dev);
1598
0 commit comments