mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mfd: Clearing events requires event registers to be writable for da9052-core
Signed-off-by: David Dajun Chen <[email protected]> Signed-off-by: Ashish Jangam <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
d9cba48358
commit
0a92815db7
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue