linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] input: eglx_ts, remove irq trigger flags
@ 2015-03-12 14:50 Markus Pargmann
  2015-03-12 15:18 ` Philipp Zabel
  0 siblings, 1 reply; 7+ messages in thread
From: Markus Pargmann @ 2015-03-12 14:50 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input, linux-kernel, kernel, Markus Pargmann

The trigger settings for a given irq are parsed from DT. Defining them
as flag for devm_request_threaded_irq() overwrites these settings. This
results in wrong trigger settings for boards which have different irq
triggers.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 drivers/input/touchscreen/egalax_ts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c
index 4c56299284ef..b0e6448b743c 100644
--- a/drivers/input/touchscreen/egalax_ts.c
+++ b/drivers/input/touchscreen/egalax_ts.c
@@ -218,7 +218,7 @@ static int egalax_ts_probe(struct i2c_client *client,
 
 	error = devm_request_threaded_irq(&client->dev, client->irq, NULL,
 					  egalax_ts_interrupt,
-					  IRQF_TRIGGER_LOW | IRQF_ONESHOT,
+					  IRQF_ONESHOT,
 					  "egalax_ts", ts);
 	if (error < 0) {
 		dev_err(&client->dev, "Failed to register interrupt\n");
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-03-24 10:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-12 14:50 [PATCH] input: eglx_ts, remove irq trigger flags Markus Pargmann
2015-03-12 15:18 ` Philipp Zabel
2015-03-12 15:37   ` Markus Pargmann
2015-03-12 16:28     ` Dmitry Torokhov
2015-03-13  7:14       ` Markus Pargmann
2015-03-18 16:50         ` Dmitry Torokhov
2015-03-24 10:46           ` Markus Pargmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).