[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <88b764be4d507b11f9e04bd09f9ab9dc579dea0b.1425490309.git.adam.ward.opensource@diasemi.com>
Date: Wed, 4 Mar 2015 16:13:12 +0000
From: Adam Ward <adam.ward.opensource@...semi.com>
To: Samuel Ortiz <sameo@...ux.intel.com>,
Lee Jones <lee.jones@...aro.org>
CC: Support Opensource <support.opensource@...semi.com>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH v1 2/2] mfd: da9052: Register ability of device to cause a
wake-up interrupt
Signed-off-by: Adam Ward <adam.ward.opensource@...semi.com>
Tested-by: Adam Ward <adam.ward.opensource@...semi.com>
---
drivers/mfd/da9052-irq.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mfd/da9052-irq.c b/drivers/mfd/da9052-irq.c
index 57ae784..e65ca19 100644
--- a/drivers/mfd/da9052-irq.c
+++ b/drivers/mfd/da9052-irq.c
@@ -262,6 +262,8 @@ int da9052_irq_init(struct da9052 *da9052)
goto regmap_err;
}
+ enable_irq_wake(da9052->chip_irq);
+
ret = da9052_request_irq(da9052, DA9052_IRQ_ADC_EOM, "adc-irq",
da9052_auxadc_irq, da9052);
--
end-of-patch for mfd: da9052: Fix SPI access and IRQ config
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists