mfd: wm5102: Mark DSP memory regions as volatile
Subsystems (2)
PATCH 1/1 mfd: wm5102: Mark DSP memory regions as volatile
We can cache some of them but this is simpler for now.
Signed-off-by Mark Brown <[email protected]>
--- drivers/mfd/wm5102-tables.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/mfd/wm5102-tables.c +3 -0
@@ -1832,6 +1832,9 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg)static bool wm5102_volatile_register (struct device *dev,unsigned int reg) { +if (reg >0xffff ) +return true; +switch (reg) {case ARIZONA_SOFTWARE_RESET :case ARIZONA_DEVICE_REVISION :
Signature · 1 line
1.7.10.4
Hi Mark,
Quoted 6 lines · Mark Brown
We can cache some of them but this is simpler for now.
Signed-off-by Mark Brown <[email protected]>--- drivers/mfd/wm5102-tables.c | 3 +++ 1 file changed, 3 insertions(+)
Patch applied, thanks.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/