summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mmc_spi.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2019-02-28 09:16:18 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2019-02-28 09:16:18 +0100
commit82b6248705cccc4341b4c1d4a80a70f018198db0 (patch)
tree1341700e8cad07b71f90ad41826e6332adabe763 /drivers/mmc/host/mmc_spi.c
parentmmc: core: Add sd discard timeout (diff)
parentmmc: core: align max segment size with logical block size (diff)
downloadlinux-82b6248705cccc4341b4c1d4a80a70f018198db0.tar.xz
linux-82b6248705cccc4341b4c1d4a80a70f018198db0.zip
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);