Skip to contentSkip to conversation

Input: sx8654 - do not override interrupt trigger

PATCH New Dmitry Torokhov 1 participant 1 message Jan 29, 2019

Subsystems (2)
lore
Share & tools
lore

Dmitry Torokhov

author maintainer
#0 lore raw

PATCH 1/1 Input: sx8654 - do not override interrupt trigger

We should rely on the interrupt trigger (level vs edge) set up by the firmware or board code instead of forcing what we consider appropriate.

---
 drivers/input/touchscreen/sx8654.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/touchscreen/sx8654.c +1 -1
index 1cc0e4116d3b..b792320d628e 100644
@@ -403,7 +403,7 @@ static int sx8654_probe(struct i2c_client *client,
 
 	error = devm_request_threaded_irq(&client->dev, client->irq,
 					  NULL, sx8654->data->irqh,
-					  IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
+					  IRQF_ONESHOT,
 					  client->name, sx8654);
 	if (error) {
 		dev_err(&client->dev,
Signature · 5 lines
2.20.1.495.gaa96b0ce6b-goog


-- 
Dmitry