mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
27dff048cc
commit
13ea581323
1 changed files with 3 additions and 0 deletions
|
|
@ -2330,6 +2330,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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue