Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232405
b: refs/heads/master
c: 0766d20
h: refs/heads/master
i:
  232403: 32ae982
v: v3
  • Loading branch information
Feng Tang authored and Linus Torvalds committed Jan 26, 2011
1 parent 89487e4 commit 74ef229
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: d8cc667be8fad9ad0bb3a95116be9f80a3b3efcf
refs/heads/master: 0766d20fdb9178b908f0268c16b464c11822c5c2
9 changes: 7 additions & 2 deletions trunk/drivers/gpio/langwell_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ MODULE_DEVICE_TABLE(pci, lnw_gpio_ids);

static void lnw_irq_handler(unsigned irq, struct irq_desc *desc)
{
struct lnw_gpio *lnw = (struct lnw_gpio *)get_irq_data(irq);
struct lnw_gpio *lnw = get_irq_data(irq);
u32 base, gpio;
void __iomem *gedr;
u32 gedr_v;
Expand All @@ -206,7 +206,12 @@ static void lnw_irq_handler(unsigned irq, struct irq_desc *desc)
/* clear the edge detect status bit */
writel(gedr_v, gedr);
}
desc->chip->eoi(irq);

if (desc->chip->irq_eoi)
desc->chip->irq_eoi(irq_get_irq_data(irq));
else
dev_warn(lnw->chip.dev, "missing EOI handler for irq %d\n", irq);

}

static int __devinit lnw_gpio_probe(struct pci_dev *pdev,
Expand Down

0 comments on commit 74ef229

Please sign in to comment.