diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-01-29 01:34:37 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-02-05 08:32:42 +0100 |
commit | 3c1697e6bc5cbe51e8e86446ab0482318a762637 (patch) | |
tree | 381a681cde142d8c86c8d678555bdd5acc0e3005 | |
parent | Input: sx8654 - convert #defined flags to BIT(x) (diff) | |
download | linux-3c1697e6bc5cbe51e8e86446ab0482318a762637.tar.xz linux-3c1697e6bc5cbe51e8e86446ab0482318a762637.zip |
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>
-rw-r--r-- | drivers/input/touchscreen/sx8654.c | 2 |
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, |