Skip to content

Commit 7846bd8

Browse files
committed
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>
1 parent 8f2ef26 commit 7846bd8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/input/touchscreen/zforce_ts.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,8 +799,7 @@ static int zforce_probe(struct i2c_client *client)
799799
*/
800800
error = devm_request_threaded_irq(&client->dev, client->irq,
801801
zforce_irq, zforce_irq_thread,
802-
IRQF_TRIGGER_LOW | IRQF_ONESHOT,
803-
input_dev->name, ts);
802+
IRQF_ONESHOT, input_dev->name, ts);
804803
if (error)
805804
return dev_err_probe(&client->dev, error,
806805
"irq %d request failed\n", client->irq);

0 commit comments

Comments
 (0)