From: Dmitry Torokhov Date: Wed, 14 Sep 2022 14:14:26 +0000 (-0700) Subject: Input: auo-pixcir-ts - do not force rising edge interrupt trigger X-Git-Tag: v6.1~32^2~9^2~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60b7a6d0fdf310f31bc4b9027e3271891b428b0a;p=platform%2Fkernel%2Flinux-starfive.git Input: auo-pixcir-ts - do not force rising edge interrupt trigger Instead of hard-coding rising edge as the interrupt trigger, let's rely on the platform (ACPI, DT) to configure the interrupt properly. Reviewed-by: Heiko Stuebner Link: https://lore.kernel.org/r/20220914141428.2201784-3-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/auo-pixcir-ts.c b/drivers/input/touchscreen/auo-pixcir-ts.c index c3bce9f..4960a50 100644 --- a/drivers/input/touchscreen/auo-pixcir-ts.c +++ b/drivers/input/touchscreen/auo-pixcir-ts.c @@ -612,7 +612,7 @@ static int auo_pixcir_probe(struct i2c_client *client, error = devm_request_threaded_irq(&client->dev, client->irq, NULL, auo_pixcir_interrupt, - IRQF_TRIGGER_RISING | IRQF_ONESHOT, + IRQF_ONESHOT, input_dev->name, ts); if (error) { dev_err(&client->dev, "irq %d requested failed, %d\n",