diff options
-rw-r--r-- | drivers/mmc/host/dw_mmc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 2fcc82577c1b..c01cb8642fb5 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c | |||
@@ -1441,6 +1441,12 @@ static int __init dw_mci_init_slot(struct dw_mci *host, unsigned int id) | |||
1441 | /* Card initially undetected */ | 1441 | /* Card initially undetected */ |
1442 | slot->last_detect_state = 0; | 1442 | slot->last_detect_state = 0; |
1443 | 1443 | ||
1444 | /* | ||
1445 | * Card may have been plugged in prior to boot so we | ||
1446 | * need to run the detect tasklet | ||
1447 | */ | ||
1448 | tasklet_schedule(&host->card_tasklet); | ||
1449 | |||
1444 | return 0; | 1450 | return 0; |
1445 | } | 1451 | } |
1446 | 1452 | ||