diff options
author | Ashish Jangam <ashish.jangam@kpitcummins.com> | 2012-01-03 12:33:26 +0530 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-03 20:18:11 +0000 |
commit | 0a92815db789bd5a922d882826cf710f9b0b9d85 (patch) | |
tree | 203ddea8f5156af7478bb55e7b2f832a1e5be766 /drivers/mfd/da9052-core.c | |
parent | d9cba48358d858a1edea877d7b7b0bce58cee850 (diff) | |
download | lwn-0a92815db789bd5a922d882826cf710f9b0b9d85.tar.gz lwn-0a92815db789bd5a922d882826cf710f9b0b9d85.zip |
mfd: Clearing events requires event registers to be writable for da9052-core
Signed-off-by: David Dajun Chen <dchen@diasemi.com>
Signed-off-by: Ashish Jangam <ashish.jangam@kpitcummins.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/mfd/da9052-core.c')
-rw-r--r-- | 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 2a5e27168cac..5ddde2a9176a 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: |