diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2021-06-06 03:04:39 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2021-06-06 06:34:08 +0300 |
commit | 9a9b1a7b2b08aa64d2876e48f51c7fbbebd5723c (patch) | |
tree | 5aaf029a210d7b63f2ef661093d0c773453ade4d /drivers/input | |
parent | 6abee582034c123d995cd454a1ccdcf0b8699da0 (diff) | |
download | linux-9a9b1a7b2b08aa64d2876e48f51c7fbbebd5723c.tar.xz |
Input: cy8ctmg110_ts - do not hard code interrupt trigger
Rely on the platform to set up interrupt polarity/type properly instead
of hard-coding falling edge.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210603043726.3793876-2-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/touchscreen/cy8ctmg110_ts.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/cy8ctmg110_ts.c b/drivers/input/touchscreen/cy8ctmg110_ts.c index 691f35f1bdd7..d83257284537 100644 --- a/drivers/input/touchscreen/cy8ctmg110_ts.c +++ b/drivers/input/touchscreen/cy8ctmg110_ts.c @@ -221,8 +221,7 @@ static int cy8ctmg110_probe(struct i2c_client *client, cy8ctmg110_set_sleepmode(ts, false); err = request_threaded_irq(client->irq, NULL, cy8ctmg110_irq_thread, - IRQF_TRIGGER_RISING | IRQF_ONESHOT, - "touch_reset_key", ts); + IRQF_ONESHOT, "touch_reset_key", ts); if (err < 0) { dev_err(&client->dev, "irq %d busy? error %d\n", client->irq, err); |