summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2017-02-20 02:14:33 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-04-04 01:24:33 +0200
commit2d3884998945cf3f995e9c2e0f157b59f4ec3e86 (patch)
tree2152b20096b338722ec1e73a6ce9b9adf1ddd694 /arch/arm/mach-pxa
parentInput: eeti_ts - switch to using managed resources (diff)
downloadlinux-2d3884998945cf3f995e9c2e0f157b59f4ec3e86.tar.xz
linux-2d3884998945cf3f995e9c2e0f157b59f4ec3e86.zip
Input: eeti_ts - respect interrupt set in client structure
Instead of expecting that GPIO is always interrupt source, let's use interrupt specified in I2C client. Reviewed-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r--arch/arm/mach-pxa/raumfeld.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/raumfeld.c b/arch/arm/mach-pxa/raumfeld.c
index e216433b56ed..1ed524ef9fff 100644
--- a/arch/arm/mach-pxa/raumfeld.c
+++ b/arch/arm/mach-pxa/raumfeld.c
@@ -973,6 +973,7 @@ static struct eeti_ts_platform_data eeti_ts_pdata = {
static struct i2c_board_info raumfeld_controller_i2c_board_info __initdata = {
.type = "eeti_ts",
.addr = 0x0a,
+ .irq = PXA_GPIO_TO_IRQ(GPIO_TOUCH_IRQ),
.platform_data = &eeti_ts_pdata,
};