diff options
author | Ashish Jangam <ashish.jangam@kpitcummins.com> | 2012-01-03 02:03:26 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-03 15:18:11 -0500 |
commit | 0a92815db789bd5a922d882826cf710f9b0b9d85 (patch) | |
tree | 203ddea8f5156af7478bb55e7b2f832a1e5be766 /drivers/mfd/da9052-core.c | |
parent | d9cba48358d858a1edea877d7b7b0bce58cee850 (diff) |
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) | |||
172 | { | 172 | { |
173 | switch (reg) { | 173 | switch (reg) { |
174 | case DA9052_PAGE0_CON_REG: | 174 | case DA9052_PAGE0_CON_REG: |
175 | case DA9052_EVENT_A_REG: | ||
176 | case DA9052_EVENT_B_REG: | ||
177 | case DA9052_EVENT_C_REG: | ||
178 | case DA9052_EVENT_D_REG: | ||
175 | case DA9052_IRQ_MASK_A_REG: | 179 | case DA9052_IRQ_MASK_A_REG: |
176 | case DA9052_IRQ_MASK_B_REG: | 180 | case DA9052_IRQ_MASK_B_REG: |
177 | case DA9052_IRQ_MASK_C_REG: | 181 | case DA9052_IRQ_MASK_C_REG: |