Commit 3c1697e6 authored by Dmitry Torokhov's avatar Dmitry Torokhov

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: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent e47ff893
...@@ -403,7 +403,7 @@ static int sx8654_probe(struct i2c_client *client, ...@@ -403,7 +403,7 @@ static int sx8654_probe(struct i2c_client *client,
error = devm_request_threaded_irq(&client->dev, client->irq, error = devm_request_threaded_irq(&client->dev, client->irq,
NULL, sx8654->data->irqh, NULL, sx8654->data->irqh,
IRQF_TRIGGER_FALLING | IRQF_ONESHOT, IRQF_ONESHOT,
client->name, sx8654); client->name, sx8654);
if (error) { if (error) {
dev_err(&client->dev, dev_err(&client->dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment