summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/sx8654.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2019-01-29 03:34:37 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2019-02-05 10:32:42 +0300
commit3c1697e6bc5cbe51e8e86446ab0482318a762637 (patch)
tree381a681cde142d8c86c8d678555bdd5acc0e3005 /drivers/input/touchscreen/sx8654.c
parente47ff893bc674c32ac21094d623533ac6e585ca7 (diff)
downloadlinux-3c1697e6bc5cbe51e8e86446ab0482318a762637.tar.xz
Input: sx8654 - do not override interrupt trigger
We should rely on the interrupt trigger (level vs edge) set up by the firmware or board code instead of forcing what we consider appropriate. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/sx8654.c')
-rw-r--r--drivers/input/touchscreen/sx8654.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/sx8654.c b/drivers/input/touchscreen/sx8654.c
index 477533cd40ab..dbdf4898aa17 100644
--- a/drivers/input/touchscreen/sx8654.c
+++ b/drivers/input/touchscreen/sx8654.c
@@ -403,7 +403,7 @@ static int sx8654_probe(struct i2c_client *client,
error = devm_request_threaded_irq(&client->dev, client->irq,
NULL, sx8654->data->irqh,
- IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
+ IRQF_ONESHOT,
client->name, sx8654);
if (error) {
dev_err(&client->dev,