Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344980
b: refs/heads/master
c: d511b9c
h: refs/heads/master
v: v3
  • Loading branch information
Fabio Estevam authored and Samuel Ortiz committed Nov 20, 2012
1 parent 5f12b80 commit 3b2b510
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: 4b5edf7887c6ec8c09c9064a2d14b578ef1904fe
refs/heads/master: d511b9c3626c83874824b1118f8a2e84ef63a7d3
6 changes: 5 additions & 1 deletion trunk/drivers/gpio/gpio-da9052.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,11 @@ static int da9052_gpio_to_irq(struct gpio_chip *gc, u32 offset)
struct da9052_gpio *gpio = to_da9052_gpio(gc);
struct da9052 *da9052 = gpio->da9052;

return da9052->irq_base + DA9052_IRQ_GPI0 + offset;
int irq;

irq = regmap_irq_get_virq(da9052->irq_data, DA9052_IRQ_GPI0 + offset);

return irq;
}

static struct gpio_chip reference_gp __devinitdata = {
Expand Down

0 comments on commit 3b2b510

Please sign in to comment.