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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user