diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-02-20 02:14:33 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-04-04 01:24:33 +0200 |
commit | 2d3884998945cf3f995e9c2e0f157b59f4ec3e86 (patch) | |
tree | 2152b20096b338722ec1e73a6ce9b9adf1ddd694 /arch/arm/mach-pxa | |
parent | Input: eeti_ts - switch to using managed resources (diff) | |
download | linux-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.c | 1 |
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, }; |