Skip to content

Commit

Permalink
Input: sx8654 - do not override interrupt trigger
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitry Torokhov committed Feb 5, 2019
1 parent e47ff89 commit 3c1697e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/sx8654.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3c1697e

Please sign in to comment.