Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270235
b: refs/heads/master
c: 51c5d8d
h: refs/heads/master
i:
  270233: 0b82b2c
  270231: 3c79cb5
v: v3
  • Loading branch information
Nicolas Ferre authored and Chris Ball committed Oct 26, 2011
1 parent ff0a676 commit b64d98a
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 7e8ba228d9f43a4e4b3ed0e6aa3399e8f30d7bc1
refs/heads/master: 51c5d8d1499b8442e863fe756f76e7f4ea7476fb
6 changes: 5 additions & 1 deletion trunk/drivers/mmc/host/at91_mci.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,11 @@ static irqreturn_t at91_mci_irq(int irq, void *devid)
static irqreturn_t at91_mmc_det_irq(int irq, void *_host)
{
struct at91mci_host *host = _host;
int present = !gpio_get_value(irq_to_gpio(irq));
int present;

/* entering this ISR means that we have configured det_pin:
* we can use its value in board structure */
present = !gpio_get_value(host->board->det_pin);

/*
* we expect this irq on both insert and remove,
Expand Down

0 comments on commit b64d98a

Please sign in to comment.