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 <[email protected]> # Tolino Shine2HD Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 8f2ef26 commit 7846bd8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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)