MFD: Clearing events requires event registers to be writable for da9052-core
Subsystems (2)
PATCH 1/1 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]>
--- drivers/mfd/da9052-core.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/mfd/da9052-core.c +4 -0
@@ -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 :
Mark Brown
AppliedQuoted 2 lines · Ashish Jangam
Signed-off-by David Dajun Chen <[email protected]>Signed-off-by Ashish Jangam <[email protected]>
Applied, thanks.