Skip to contentSkip to conversation

Input: cyttsp - do not force interrupt trigger

PATCH In review Dmitry Torokhov 2 participants 2 messages May 27, 2021

Subsystems (3)
lore
Share & tools
lore

Dmitry Torokhov

author maintainer
#0 lore raw

PATCH 1/1 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.

---

Linus, Ferruh's email has been bouncing for ages, it looks like you have the hardware and you are already looking over another Cypress touch controller, mind if I put you down as a maintainer for this one as well?

 drivers/input/touchscreen/cyttsp_core.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/input/touchscreen/cyttsp_core.c +1 -2
index d9debcdeeec7..a6352d79e23d 100644
@@ -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",
Signature · 5 lines
2.31.1.818.g46aad6cb9e-goog


-- 
Dmitry
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Dmitry Torokhov

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.

Quoted 3 lines

Linus, Ferruh's email has been bouncing for ages, it looks like you have the hardware and you are already looking over another Cypress touch controller, mind if I put you down as a maintainer for this one as well?

That's fine, just list me if you want, one more or less.

Yours,
Linus Walleij