diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2005-09-08 12:53:01 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-09-08 12:53:01 -0400 |
commit | 8dc003359cc3996abad9e53a7b2280b272610283 (patch) | |
tree | 7fc17315c0d948cd106b89d250355bf59978ae39 /drivers/mmc/pxamci.c | |
parent | caf39e87cc1182f7dae84eefc43ca14d54c78ef9 (diff) |
[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/pxamci.c')
-rw-r--r-- | drivers/mmc/pxamci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/pxamci.c b/drivers/mmc/pxamci.c index e99a53b09e32..5223cd3bfc1e 100644 --- a/drivers/mmc/pxamci.c +++ b/drivers/mmc/pxamci.c | |||
@@ -423,7 +423,7 @@ static void pxamci_dma_irq(int dma, void *devid, struct pt_regs *regs) | |||
423 | 423 | ||
424 | static irqreturn_t pxamci_detect_irq(int irq, void *devid, struct pt_regs *regs) | 424 | static irqreturn_t pxamci_detect_irq(int irq, void *devid, struct pt_regs *regs) |
425 | { | 425 | { |
426 | mmc_detect_change(devid); | 426 | mmc_detect_change(devid, 0); |
427 | return IRQ_HANDLED; | 427 | return IRQ_HANDLED; |
428 | } | 428 | } |
429 | 429 | ||