aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2022-09-14 07:14:26 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-09-16 06:38:51 -0700
commit60b7a6d0fdf310f31bc4b9027e3271891b428b0a (patch)
treecf5808cc6cfe96de8fed5dbe53030766a30aba60 /drivers/input
parentInput: auo-pixcir-ts - switch to using gpiod API (diff)
downloadlinux-dev-60b7a6d0fdf310f31bc4b9027e3271891b428b0a.tar.xz
linux-dev-60b7a6d0fdf310f31bc4b9027e3271891b428b0a.zip
Input: auo-pixcir-ts - do not force rising edge interrupt trigger
Instead of hard-coding rising edge as the interrupt trigger, let's rely on the platform (ACPI, DT) to configure the interrupt properly. Reviewed-by: Heiko Stuebner <heiko@sntech.de> Link: https://lore.kernel.org/r/20220914141428.2201784-3-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/auo-pixcir-ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/auo-pixcir-ts.c b/drivers/input/touchscreen/auo-pixcir-ts.c
index c3bce9fb2c94..4960a50f59ea 100644
--- a/drivers/input/touchscreen/auo-pixcir-ts.c
+++ b/drivers/input/touchscreen/auo-pixcir-ts.c
@@ -612,7 +612,7 @@ static int auo_pixcir_probe(struct i2c_client *client,
error = devm_request_threaded_irq(&client->dev, client->irq,
NULL, auo_pixcir_interrupt,
- IRQF_TRIGGER_RISING | IRQF_ONESHOT,
+ IRQF_ONESHOT,
input_dev->name, ts);
if (error) {
dev_err(&client->dev, "irq %d requested failed, %d\n",