diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2019-02-28 09:16:18 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-02-28 09:16:18 +0100 |
commit | 82b6248705cccc4341b4c1d4a80a70f018198db0 (patch) | |
tree | 1341700e8cad07b71f90ad41826e6332adabe763 /drivers/mmc/host/mmc_spi.c | |
parent | mmc: core: Add sd discard timeout (diff) | |
parent | mmc: core: align max segment size with logical block size (diff) | |
download | linux-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.c | 1 |
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); |