linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MFD: Clearing events requires event registers to be writable for da9052-core
@ 2012-01-03  7:03 Ashish Jangam
  2012-01-03 20:17 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Ashish Jangam @ 2012-01-03  7:03 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-kernel, Dajun, arnd, sameo

Signed-off-by: David Dajun Chen <dchen@diasemi.com>
Signed-off-by: Ashish Jangam <ashish.jangam@kpitcummins.com>
---
 drivers/mfd/da9052-core.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/da9052-core.c b/drivers/mfd/da9052-core.c
index a7c115c..1876aa9 100644
--- a/drivers/mfd/da9052-core.c
+++ b/drivers/mfd/da9052-core.c
@@ -172,6 +172,10 @@ static bool da9052_reg_writeable(struct device *dev, unsigned int reg)
 {
 	switch (reg) {
 	case DA9052_PAGE0_CON_REG:
+	case DA9052_EVENT_A_REG:
+	case DA9052_EVENT_B_REG:
+	case DA9052_EVENT_C_REG:
+	case DA9052_EVENT_D_REG:
 	case DA9052_IRQ_MASK_A_REG:
 	case DA9052_IRQ_MASK_B_REG:
 	case DA9052_IRQ_MASK_C_REG:



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

* Re: [PATCH] MFD: Clearing events requires event registers to be writable for da9052-core
  2012-01-03  7:03 [PATCH] MFD: Clearing events requires event registers to be writable for da9052-core Ashish Jangam
@ 2012-01-03 20:17 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-01-03 20:17 UTC (permalink / raw)
  To: Ashish Jangam; +Cc: linux-kernel, Dajun, arnd, sameo

On Tue, Jan 03, 2012 at 12:33:26PM +0530, Ashish Jangam wrote:
> Signed-off-by: David Dajun Chen <dchen@diasemi.com>
> Signed-off-by: Ashish Jangam <ashish.jangam@kpitcummins.com>

Applied, thanks.

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

end of thread, other threads:[~2012-01-03 20:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-03  7:03 [PATCH] MFD: Clearing events requires event registers to be writable for da9052-core Ashish Jangam
2012-01-03 20:17 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).