[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>
This commit is contained in:

committed by
Russell King

parent
caf39e87cc
commit
8dc003359c
@@ -423,7 +423,7 @@ static void pxamci_dma_irq(int dma, void *devid, struct pt_regs *regs)
|
||||
|
||||
static irqreturn_t pxamci_detect_irq(int irq, void *devid, struct pt_regs *regs)
|
||||
{
|
||||
mmc_detect_change(devid);
|
||||
mmc_detect_change(devid, 0);
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user