Input: sx8654 - do not override interrupt trigger
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 29 Jan 2019 00:34:37 +0000 (16:34 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 5 Feb 2019 07:32:42 +0000 (23:32 -0800)
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>
drivers/input/touchscreen/sx8654.c

index 477533c..dbdf489 100644 (file)
@@ -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,