Loading drivers/mmc/host/sdhci-msm.c +7 −0 Original line number Diff line number Diff line Loading @@ -3121,6 +3121,13 @@ static int sdhci_msm_probe(struct platform_device *pdev) init_completion(&msm_host->pwr_irq_completion); if (gpio_is_valid(msm_host->pdata->status_gpio)) { /* * Set up the card detect GPIO in active configuration before * configuring it as an IRQ. Otherwise, it can be in some * weird/inconsistent state resulting in flood of interrupts. */ sdhci_msm_setup_pins(msm_host->pdata, true); ret = mmc_gpio_request_cd(msm_host->mmc, msm_host->pdata->status_gpio); if (ret) { Loading Loading
drivers/mmc/host/sdhci-msm.c +7 −0 Original line number Diff line number Diff line Loading @@ -3121,6 +3121,13 @@ static int sdhci_msm_probe(struct platform_device *pdev) init_completion(&msm_host->pwr_irq_completion); if (gpio_is_valid(msm_host->pdata->status_gpio)) { /* * Set up the card detect GPIO in active configuration before * configuring it as an IRQ. Otherwise, it can be in some * weird/inconsistent state resulting in flood of interrupts. */ sdhci_msm_setup_pins(msm_host->pdata, true); ret = mmc_gpio_request_cd(msm_host->mmc, msm_host->pdata->status_gpio); if (ret) { Loading