diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-08-24 07:50:40 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-09-06 07:56:47 +0200 |
commit | 7846bd8b8d3c1f8ee15f47ca9e177bd7a729ce4b (patch) | |
tree | cb73c4b62c1ce9ed57be6d93fe8eb53568a38f06 /drivers/input/touchscreen | |
parent | Input: zforce_ts - switch to using devm_regulator_get_enable() (diff) | |
download | linux-7846bd8b8d3c1f8ee15f47ca9e177bd7a729ce4b.tar.xz linux-7846bd8b8d3c1f8ee15f47ca9e177bd7a729ce4b.zip |
Input: zforce_ts - do not hardcode interrupt level
Stop forcing interrupt to be low level triggered and instead rely on the
platform to define proper trigger to allow flexibility in board designs.
Tested-by: Andreas Kemnade <andreas@kemnade.info> # Tolino Shine2HD
Link: https://lore.kernel.org/r/20240824055047.1706392-17-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r-- | drivers/input/touchscreen/zforce_ts.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/zforce_ts.c b/drivers/input/touchscreen/zforce_ts.c index 316901c751c0..116f3aa6350c 100644 --- a/drivers/input/touchscreen/zforce_ts.c +++ b/drivers/input/touchscreen/zforce_ts.c @@ -799,8 +799,7 @@ static int zforce_probe(struct i2c_client *client) */ error = devm_request_threaded_irq(&client->dev, client->irq, zforce_irq, zforce_irq_thread, - IRQF_TRIGGER_LOW | IRQF_ONESHOT, - input_dev->name, ts); + IRQF_ONESHOT, input_dev->name, ts); if (error) return dev_err_probe(&client->dev, error, "irq %d request failed\n", client->irq); |