Commit 9a9b1a7b authored by Dmitry Torokhov's avatar Dmitry Torokhov

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: default avatarLinus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210603043726.3793876-2-dmitry.torokhov@gmail.comSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 6abee582
......@@ -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);
......
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