summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/mmc_spi.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2019-02-28 11:16:18 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2019-02-28 11:16:18 +0300
commit82b6248705cccc4341b4c1d4a80a70f018198db0 (patch)
tree1341700e8cad07b71f90ad41826e6332adabe763 /drivers/mmc/host/mmc_spi.c
parentad9be7fff3e729287f61a2a5e811c03090003fff (diff)
parentc53336c8f5f29043fded57912cc06c24e12613d7 (diff)
downloadlinux-82b6248705cccc4341b4c1d4a80a70f018198db0.tar.xz
Merge branch 'fixes' into next
Diffstat (limited to 'drivers/mmc/host/mmc_spi.c')
-rw-r--r--drivers/mmc/host/mmc_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c
index d7a5bbeb391b..1b1498805972 100644
--- a/drivers/mmc/host/mmc_spi.c
+++ b/drivers/mmc/host/mmc_spi.c
@@ -1450,6 +1450,7 @@ static int mmc_spi_probe(struct spi_device *spi)
mmc->caps &= ~MMC_CAP_NEEDS_POLL;
mmc_gpiod_request_cd_irq(mmc);
}
+ mmc_detect_change(mmc, 0);
/* Index 1 is write protect/read only */
status = mmc_gpiod_request_ro(mmc, NULL, 1, 0, NULL);