summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2017-02-19 17:14:33 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-04-03 16:24:33 -0700
commit2d3884998945cf3f995e9c2e0f157b59f4ec3e86 (patch)
tree2152b20096b338722ec1e73a6ce9b9adf1ddd694 /arch
parent6f9fab69a21d47ac68e78a8a5c613a2a6156bbb7 (diff)
downloadlinux-2d3884998945cf3f995e9c2e0f157b59f4ec3e86.tar.bz2
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')
-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,
};