diff options
author | hanumath <hanumath.prasad@stericsson.com> | 2010-02-03 16:24:12 +0530 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2010-09-02 22:44:08 -0600 |
commit | 63649b827360beb9f909655149173c726d0ca22a (patch) | |
tree | 5eb32a1cfc90532bf52de9d6efefb7ae1e06372b /drivers/mmc/host/mmc-u8500.c | |
parent | 04d57464aebe3f44ab45da6bb157dee8134e536e (diff) |
u8500-mmc : mmc hotplug fix
Signed-off-by: hanumath <hanumath.prasad@stericsson.com>
Diffstat (limited to 'drivers/mmc/host/mmc-u8500.c')
-rw-r--r-- | drivers/mmc/host/mmc-u8500.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/mmc/host/mmc-u8500.c b/drivers/mmc/host/mmc-u8500.c index f0a624f23c3..69e82d01b6d 100644 --- a/drivers/mmc/host/mmc-u8500.c +++ b/drivers/mmc/host/mmc-u8500.c @@ -1368,13 +1368,8 @@ static struct mmc_host_ops u8500_mmci_ops = { static void u8500_mmci_check_status(void *data) { struct u8500_mmci_host *host = (struct u8500_mmci_host *) data; - char status; - - status = host->card_detect_intr_value(); - status ^= host->oldstat; - if (status) - mmc_detect_change(host->mmc, 0); - host->oldstat = status; + mdelay(50); + mmc_detect_change(host->mmc, 30); return; } |