Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311765
b: refs/heads/master
c: 33a4e98
h: refs/heads/master
i:
  311763: 6d8062c
v: v3
  • Loading branch information
Uwe Kleine-König authored and Linus Walleij committed Jul 5, 2012
1 parent 60c814b commit 40e03e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: f567fde24640cf6f2d6416196bfc8b3fefc8e433
refs/heads/master: 33a4e985bab25d6753b52d1322b4e2fff706dd4f
10 changes: 6 additions & 4 deletions trunk/drivers/gpio/gpio-mxc.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,12 @@ static int __devinit mxc_gpio_probe(struct platform_device *pdev)
writel(~0, port->base + GPIO_ISR);

if (mxc_gpio_hwtype == IMX21_GPIO) {
/* setup one handler for all GPIO interrupts */
if (pdev->id == 0)
irq_set_chained_handler(port->irq,
mx2_gpio_irq_handler);
/*
* Setup one handler for all GPIO interrupts. Actually setting
* the handler is needed only once, but doing it for every port
* is more robust and easier.
*/
irq_set_chained_handler(port->irq, mx2_gpio_irq_handler);
} else {
/* setup one handler for each entry */
irq_set_chained_handler(port->irq, mx3_gpio_irq_handler);
Expand Down

0 comments on commit 40e03e7

Please sign in to comment.