Skip to contentSkip to conversation

regulator: da9055 change irq state to default

PATCH In review Ashish Jangam 2 participants 2 messages Jan 18, 2013

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

PATCH 2/5 regulator: 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/regulator/da9055-regulator.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/regulator/da9055-regulator.c +1 -1
index 3022109..d4297c2 100644
@@ -579,7 +579,7 @@ static int da9055_regulator_probe(struct platform_device *pdev)
 		irq = regmap_irq_get_virq(da9055->irq_data, irq);
 		ret = devm_request_threaded_irq(&pdev->dev, irq, NULL,
 						da9055_ldo5_6_oc_irq,
-						IRQF_TRIGGER_HIGH |
+						IRQF_TRIGGER_LOW |
 						IRQF_ONESHOT |
 						IRQF_PROBE_SHARED,
 						pdev->name, regulator);
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 4 lines · Ashish Jangam

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

This patch is dependent on the DA9055 MFD.

Why is this change required and why is there a dependency here?