mmc: dw_mmc: Run card detect tasklet during slot initialisation.
authorWill Newton <will.newton@gmail.com>
Thu, 10 Feb 2011 19:37:03 +0000 (14:37 -0500)
committerChris Ball <cjb@laptop.org>
Tue, 15 Mar 2011 17:48:51 +0000 (13:48 -0400)
commitdd6c4b9807581b37bf68ba3cd160c6859f070d39
treed60dac551123658b8190de2ba10c3e2fdd2e83c2
parent170cba8cad5d9350f2c76bbd22013cc31ae26b0f
mmc: dw_mmc: Run card detect tasklet during slot initialisation.

We need to run the card detect tasklet at the end of slot initialisation
as it is possible that a card has been inserted prior to boot, so we don't
see an insertion interrupt and now the card is sitting there inserted but
with no power to it.

Signed-off-by: Neil Jones <neil.jones@imgtec.com>
Signed-off-by: Will Newton <will.newton@imgtec.com>
Reviewed-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c