Skip to content

Commit

Permalink
mfd: Clearing events requires event registers to be writable for da90…
Browse files Browse the repository at this point in the history
…52-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>
  • Loading branch information
Ashish Jangam authored and Mark Brown committed Jan 3, 2012
1 parent d9cba48 commit 0a92815
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/mfd/da9052-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0a92815

Please sign in to comment.