Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296895
b: refs/heads/master
c: 5a90309
h: refs/heads/master
i:
  296893: fb99ddb
  296891: e5891f3
  296887: 8294d53
  296879: 7a46cdf
  296863: d5fae3c
  296831: 9a955b4
v: v3
  • Loading branch information
Felipe Balbi authored and Samuel Ortiz committed Mar 22, 2012
1 parent e417684 commit ddf26a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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: f01b1f90bf46ddaf2a68215a9489364c974e5689
refs/heads/master: 5a903090e7aa561901b7f052eb744b480d6126d4
14 changes: 7 additions & 7 deletions trunk/drivers/mfd/twl4030-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ static unsigned twl4030_irq_base;
*/
static irqreturn_t handle_twl4030_pih(int irq, void *devid)
{
int module_irq;
irqreturn_t ret;
u8 pih_isr;

Expand All @@ -304,12 +303,13 @@ static irqreturn_t handle_twl4030_pih(int irq, void *devid)
return IRQ_NONE;
}

/* these handlers deal with the relevant SIH irq status */
for (module_irq = twl4030_irq_base;
pih_isr;
pih_isr >>= 1, module_irq++) {
if (pih_isr & 0x1)
handle_nested_irq(module_irq);
while (pih_isr) {
unsigned long pending = __ffs(pih_isr);
unsigned int irq;

pih_isr &= ~BIT(pending);
irq = pending + twl4030_irq_base;
handle_nested_irq(irq);
}

return IRQ_HANDLED;
Expand Down

0 comments on commit ddf26a4

Please sign in to comment.