Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261882
b: refs/heads/master
c: 0825671
h: refs/heads/master
v: v3
  • Loading branch information
Dimitris Papastamos authored and Samuel Ortiz committed Jul 31, 2011
1 parent aad3e51 commit a38c24d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 59dead5a0c65abed0fe997a69692c11fcd0b11ca
refs/heads/master: 08256712a2705f3ced3e54c3728932c9c39b58ad
5 changes: 5 additions & 0 deletions trunk/drivers/mfd/wm831x-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,11 @@ static int wm831x_irq_set_type(struct irq_data *data, unsigned int type)
return -EINVAL;
}

/* Rebase the IRQ into the GPIO range so we've got a sensible array
* index.
*/
irq -= WM831X_IRQ_GPIO_1;

/* We set the high bit to flag that we need an update; don't
* do the update here as we can be called with the bus lock
* held.
Expand Down

0 comments on commit a38c24d

Please sign in to comment.