ASoC: wm2000: Expose some additional registers
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 22 Jan 2013 06:51:08 +0000 (15:51 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 24 Jan 2013 07:59:14 +0000 (15:59 +0800)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm2000.c
sound/soc/codecs/wm2000.h

index 85550dc319db8429421a5078dcf51826d75f28cb..627c45499392386874d04b547e287dd64ad7e5d3 100644 (file)
@@ -717,6 +717,9 @@ static bool wm2000_readable_reg(struct device *dev, unsigned int reg)
 {
        switch (reg) {
        case WM2000_REG_SYS_START:
+       case WM2000_REG_ANC_GAIN_CTRL:
+       case WM2000_REG_MSE_TH1:
+       case WM2000_REG_MSE_TH2:
        case WM2000_REG_SPEECH_CLARITY:
        case WM2000_REG_SYS_WATCHDOG:
        case WM2000_REG_ANA_VMID_PD_TIME:
index abcd82a93995b357ba8052b0559178912990923b..fb812cd9e77dd7ea8e44cd7bc48bfd328fc0eadd 100644 (file)
@@ -10,6 +10,9 @@
 #define _WM2000_H
 
 #define WM2000_REG_SYS_START       0x8000
+#define WM2000_REG_ANC_GAIN_CTRL    0x8fa2
+#define WM2000_REG_MSE_TH2          0x8fdf
+#define WM2000_REG_MSE_TH1          0x8fe0
 #define WM2000_REG_SPEECH_CLARITY   0x8fef
 #define WM2000_REG_SYS_WATCHDOG     0x8ff6
 #define WM2000_REG_ANA_VMID_PD_TIME 0x8ff7