diff options
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 cc8d4a6099cd..e4a07546f8b6 100644 --- a/drivers/mmc/host/mmc_spi.c +++ b/drivers/mmc/host/mmc_spi.c | |||
@@ -1436,6 +1436,7 @@ static int mmc_spi_probe(struct spi_device *spi) | |||
1436 | host->pdata->cd_debounce); | 1436 | host->pdata->cd_debounce); |
1437 | if (status != 0) | 1437 | if (status != 0) |
1438 | goto fail_add_host; | 1438 | goto fail_add_host; |
1439 | mmc_gpiod_request_cd_irq(mmc); | ||
1439 | } | 1440 | } |
1440 | 1441 | ||
1441 | if (host->pdata && host->pdata->flags & MMC_SPI_USE_RO_GPIO) { | 1442 | if (host->pdata && host->pdata->flags & MMC_SPI_USE_RO_GPIO) { |