]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Merge tag 'tags/ib-asoc-1' into for-mfd-next
authorLee Jones <lee.jones@linaro.org>
Tue, 21 Jan 2014 08:23:16 +0000 (08:23 +0000)
committerLee Jones <lee.jones@linaro.org>
Tue, 21 Jan 2014 08:23:16 +0000 (08:23 +0000)
Immutable branch for ASoC, as requested by Mark Brown

1  2 
drivers/mfd/wm5110-tables.c
include/linux/mfd/arizona/registers.h
sound/soc/codecs/arizona.c
sound/soc/codecs/wm5110.c

index d3d753179d657874311de3e8a2f6005bb1123374,3b079f6b021eac1318e687fd30ec800499da6cf3..8dc49ec3b246e217bfab31f701c4650bee39e14d
@@@ -2325,13 -2369,9 +2388,13 @@@ static bool wm5110_readable_register(st
        case ARIZONA_DSP4_STATUS_1:
        case ARIZONA_DSP4_STATUS_2:
        case ARIZONA_DSP4_STATUS_3:
 +      case ARIZONA_DSP4_SCRATCH_0:
 +      case ARIZONA_DSP4_SCRATCH_1:
 +      case ARIZONA_DSP4_SCRATCH_2:
 +      case ARIZONA_DSP4_SCRATCH_3:
                return true;
        default:
-               return false;
+               return wm5110_is_adsp_memory(dev, reg);
        }
  }
  
@@@ -2401,13 -2429,9 +2464,13 @@@ static bool wm5110_volatile_register(st
        case ARIZONA_DSP4_STATUS_1:
        case ARIZONA_DSP4_STATUS_2:
        case ARIZONA_DSP4_STATUS_3:
 +      case ARIZONA_DSP4_SCRATCH_0:
 +      case ARIZONA_DSP4_SCRATCH_1:
 +      case ARIZONA_DSP4_SCRATCH_2:
 +      case ARIZONA_DSP4_SCRATCH_3:
                return true;
        default:
-               return false;
+               return wm5110_is_adsp_memory(dev, reg);
        }
  }
  
Simple merge
Simple merge
Simple merge