mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch v1 3/5] hwmon: da9055 change irq state to default
@ 2013-01-18  5:24 Ashish Jangam
  2013-01-18 14:36 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Ashish Jangam @ 2013-01-18  5:24 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: Samuel Ortiz, lm-sensors, David Dajun Chen, linux-kernel

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.

Signed-off-by: Ashish Jangam <ashish.jangam@kpitcummins.com>
---
 drivers/hwmon/da9055-hwmon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/hwmon/da9055-hwmon.c b/drivers/hwmon/da9055-hwmon.c
index 9465c05..dfd0db1 100644
--- a/drivers/hwmon/da9055-hwmon.c
+++ b/drivers/hwmon/da9055-hwmon.c
@@ -284,7 +284,7 @@ static int da9055_hwmon_probe(struct platform_device *pdev)
 
 	ret = devm_request_threaded_irq(&pdev->dev, hwmon_irq,
 					NULL, da9055_auxadc_irq,
-					IRQF_TRIGGER_HIGH | IRQF_ONESHOT,
+					IRQF_TRIGGER_LOW | IRQF_ONESHOT,
 					"adc-irq", hwmon);
 	if (ret != 0) {
 		dev_err(hwmon->da9055->dev, "DA9055 ADC IRQ failed ret=%d\n",
-- 
1.7.0.4



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

end of thread, other threads:[~2013-01-18 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-18  5:24 [patch v1 3/5] hwmon: da9055 change irq state to default Ashish Jangam
2013-01-18 14:36 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®