Loading drivers/mmc/host/sdhci-msm.c +2 −1 Original line number Diff line number Diff line Loading @@ -3101,6 +3101,7 @@ static int sdhci_msm_probe(struct platform_device *pdev) msm_host->mmc->caps2 |= MMC_CAP2_STOP_REQUEST; msm_host->mmc->caps2 |= MMC_CAP2_ASYNC_SDIO_IRQ_4BIT_MODE; msm_host->mmc->pm_caps |= MMC_PM_KEEP_POWER | MMC_PM_WAKE_SDIO_IRQ; msm_host->mmc->caps2 |= MMC_CAP2_CORE_PM; if (msm_host->pdata->nonremovable) msm_host->mmc->caps |= MMC_CAP_NONREMOVABLE; Loading Loading @@ -3181,7 +3182,7 @@ static int sdhci_msm_probe(struct platform_device *pdev) if (ret) pr_err("%s: %s: pm_runtime_set_active failed: err: %d\n", mmc_hostname(host->mmc), __func__, ret); else else if (mmc_use_core_runtime_pm(host->mmc)) pm_runtime_enable(&pdev->dev); msm_host->auto_cmd21_attr.show = show_auto_cmd21; Loading Loading
drivers/mmc/host/sdhci-msm.c +2 −1 Original line number Diff line number Diff line Loading @@ -3101,6 +3101,7 @@ static int sdhci_msm_probe(struct platform_device *pdev) msm_host->mmc->caps2 |= MMC_CAP2_STOP_REQUEST; msm_host->mmc->caps2 |= MMC_CAP2_ASYNC_SDIO_IRQ_4BIT_MODE; msm_host->mmc->pm_caps |= MMC_PM_KEEP_POWER | MMC_PM_WAKE_SDIO_IRQ; msm_host->mmc->caps2 |= MMC_CAP2_CORE_PM; if (msm_host->pdata->nonremovable) msm_host->mmc->caps |= MMC_CAP_NONREMOVABLE; Loading Loading @@ -3181,7 +3182,7 @@ static int sdhci_msm_probe(struct platform_device *pdev) if (ret) pr_err("%s: %s: pm_runtime_set_active failed: err: %d\n", mmc_hostname(host->mmc), __func__, ret); else else if (mmc_use_core_runtime_pm(host->mmc)) pm_runtime_enable(&pdev->dev); msm_host->auto_cmd21_attr.show = show_auto_cmd21; Loading