Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a92815d authored by Ashish Jangam's avatar Ashish Jangam Committed by Mark Brown
Browse files

mfd: Clearing events requires event registers to be writable for da9052-core

parent d9cba483
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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: