From: Dmitry Torokhov Date: Mon, 31 May 2021 04:53:00 +0000 (-0700) Subject: Input: cyttsp - do not force interrupt trigger X-Git-Tag: v5.15~74^2~9^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9d2939dda3ba121834dba053ff8ba5026f8ce37;p=platform%2Fkernel%2Flinux-starfive.git Input: cyttsp - do not force interrupt trigger Instead of forcing interrupt trigger to be "falling edge" let's rely on the platform to set it up according to how it is set up on a given board based on data in device tree or ACPI tables. Reviewed-by: Linus Walleij Link: https://lore.kernel.org/r/YK7iO96g+7yIC0l1@google.com Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/cyttsp_core.c b/drivers/input/touchscreen/cyttsp_core.c index d9debcd..a6352d7 100644 --- a/drivers/input/touchscreen/cyttsp_core.c +++ b/drivers/input/touchscreen/cyttsp_core.c @@ -699,8 +699,7 @@ struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops, } error = devm_request_threaded_irq(dev, ts->irq, NULL, cyttsp_irq, - IRQF_TRIGGER_FALLING | IRQF_ONESHOT | - IRQF_NO_AUTOEN, + IRQF_ONESHOT | IRQF_NO_AUTOEN, "cyttsp", ts); if (error) { dev_err(ts->dev, "failed to request IRQ %d, err: %d\n",