Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256714
b: refs/heads/master
c: c609c05
h: refs/heads/master
v: v3
  • Loading branch information
David Jander authored and Grant Likely committed Jun 16, 2011
1 parent e33d712 commit 27a3483
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 8e46ea3ec8b132bffd989741e8d154accb623645
refs/heads/master: c609c05db10dcb020f6869186e548a0596a78896
4 changes: 3 additions & 1 deletion trunk/drivers/gpio/gpio-pca953x.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,10 @@ static int pca953x_irq_setup(struct pca953x_chip *chip,

static void pca953x_irq_teardown(struct pca953x_chip *chip)
{
if (chip->irq_base != -1)
if (chip->irq_base != -1) {
irq_free_descs(chip->irq_base, chip->gpio_chip.ngpio);
free_irq(chip->client->irq, chip);
}
}
#else /* CONFIG_GPIO_PCA953X_IRQ */
static int pca953x_irq_setup(struct pca953x_chip *chip,
Expand Down

0 comments on commit 27a3483

Please sign in to comment.