Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7871
b: refs/heads/master
c: c26971c
h: refs/heads/master
i:
  7869: 6220a0b
  7867: 7a506a8
  7863: 963d4af
  7855: 70556e7
  7839: 81ae656
  7807: 362c2ea
v: v3
  • Loading branch information
Richard Purdie authored and Russell King committed Sep 8, 2005
1 parent 5df3d99 commit 4c285d4
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 01357dcac62ac028de65a1c315eb75c530c8a5d6
refs/heads/master: c26971cbb39727b0b692c6236f890ba13046a663
4 changes: 3 additions & 1 deletion trunk/drivers/mmc/pxamci.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,9 @@ 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, 0);
struct pxamci_host *host = mmc_priv(devid);

mmc_detect_change(devid, host->pdata->detect_delay);
return IRQ_HANDLED;
}

Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-arm/arch-pxa/mmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ struct mmc_host;

struct pxamci_platform_data {
unsigned int ocr_mask; /* available voltages */
unsigned long detect_delay; /* delay in jiffies before detecting cards after interrupt */
int (*init)(struct device *, irqreturn_t (*)(int, void *, struct pt_regs *), void *);
int (*get_ro)(struct device *);
void (*setpower)(struct device *, unsigned int);
Expand Down

0 comments on commit 4c285d4

Please sign in to comment.