Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281844
b: refs/heads/master
c: b5d798c
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Arnd Bergmann committed Dec 28, 2011
1 parent 997f951 commit 305de75
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 34641de2ef118b9c78a842fb75e6d3cc49c1de31
refs/heads/master: b5d798cc7a221aec50baf496c482280f1b809143
5 changes: 3 additions & 2 deletions trunk/drivers/input/touchscreen/zylonite-wm97xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/io.h>
Expand Down Expand Up @@ -192,8 +193,8 @@ static int zylonite_wm97xx_probe(struct platform_device *pdev)
else
gpio_touch_irq = mfp_to_gpio(MFP_PIN_GPIO26);

wm->pen_irq = IRQ_GPIO(gpio_touch_irq);
irq_set_irq_type(IRQ_GPIO(gpio_touch_irq), IRQ_TYPE_EDGE_BOTH);
wm->pen_irq = gpio_to_irq(gpio_touch_irq);
irq_set_irq_type(wm->pen_irq, IRQ_TYPE_EDGE_BOTH);

wm97xx_config_gpio(wm, WM97XX_GPIO_13, WM97XX_GPIO_IN,
WM97XX_GPIO_POL_HIGH,
Expand Down

0 comments on commit 305de75

Please sign in to comment.