Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336330
b: refs/heads/master
c: 451c895
h: refs/heads/master
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Chris Ball committed Dec 7, 2012
1 parent b47d28d commit 9a00f40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9f1fb60a2338aa2202ca94d67f84c582f31dbf5a
refs/heads/master: 451c89578eb4791b9d329eb71a79e6715e60f89e
8 changes: 7 additions & 1 deletion trunk/drivers/mmc/core/slot-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ struct mmc_gpio {
static irqreturn_t mmc_gpio_cd_irqt(int irq, void *dev_id)
{
/* Schedule a card detection after a debounce timeout */
mmc_detect_change(dev_id, msecs_to_jiffies(100));
struct mmc_host *host = dev_id;

if (host->ops->card_event)
host->ops->card_event(host);

mmc_detect_change(host, msecs_to_jiffies(200));

return IRQ_HANDLED;
}

Expand Down

0 comments on commit 9a00f40

Please sign in to comment.