Skip to contentSkip to conversation

onkey: da9055 change irq state to default

PATCH In review Ashish Jangam 1 participant 1 message Jan 18, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 5/5 onkey: da9055 change irq state to default

This patch changes the irq state from high to the now default low state.

This patch is dependent on the DA9055 MFD.

This patch is tested on smdk6410 board.

---
 drivers/input/misc/da9055_onkey.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/misc/da9055_onkey.c +1 -1
index ee6ae3a..eec55b7 100644
@@ -112,7 +112,7 @@ static int da9055_onkey_probe(struct platform_device *pdev)
 
 	irq = regmap_irq_get_virq(da9055->irq_data, irq);
 	err = request_threaded_irq(irq, NULL, da9055_onkey_irq,
-				   IRQF_TRIGGER_HIGH | IRQF_ONESHOT,
+				   IRQF_TRIGGER_LOW | IRQF_ONESHOT,
 				   "ONKEY", onkey);
 	if (err < 0) {
 		dev_err(&pdev->dev,
Signature · 1 line
1.7.0.4