summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/mmci.c
diff options
context:
space:
mode:
authorRichard Purdie2005-09-08 18:53:01 +0200
committerRussell King2005-09-08 18:53:01 +0200
commit8dc003359cc3996abad9e53a7b2280b272610283 (patch)
tree7fc17315c0d948cd106b89d250355bf59978ae39 /drivers/mmc/mmci.c
parent[SCSI] Re-do "final klist fixes" (diff)
downloadkernel-qcow2-linux-8dc003359cc3996abad9e53a7b2280b272610283.tar.gz
kernel-qcow2-linux-8dc003359cc3996abad9e53a7b2280b272610283.tar.xz
kernel-qcow2-linux-8dc003359cc3996abad9e53a7b2280b272610283.zip
[MMC] Allow detection/removal to be delayed
Change mmc_detect_change() to take a delay argument such that the detection of card insertions and removals can be delayed according to the requirements of the host driver or platform. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/mmci.c')
-rw-r--r--drivers/mmc/mmci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/mmci.c b/drivers/mmc/mmci.c
index 716c4ef4faf6..91c74843dc0d 100644
--- a/drivers/mmc/mmci.c
+++ b/drivers/mmc/mmci.c
@@ -442,7 +442,7 @@ static void mmci_check_status(unsigned long data)
status = host->plat->status(mmc_dev(host->mmc));
if (status ^ host->oldstat)
- mmc_detect_change(host->mmc);
+ mmc_detect_change(host->mmc, 0);
host->oldstat = status;
mod_timer(&host->timer, jiffies + HZ);