diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-22 01:51:08 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-24 02:59:14 -0500 |
commit | 33e7546e199f123808699c65274283606114e225 (patch) | |
tree | c2da539321f2790d652e77a9824fa836c262bac4 | |
parent | d61100bbd18e8b3fc9406be55354dabd5e7525ec (diff) |
ASoC: wm2000: Expose some additional registers
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/codecs/wm2000.c | 3 | ||||
-rw-r--r-- | sound/soc/codecs/wm2000.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm2000.c b/sound/soc/codecs/wm2000.c index 85550dc319db..627c45499392 100644 --- a/sound/soc/codecs/wm2000.c +++ b/sound/soc/codecs/wm2000.c | |||
@@ -717,6 +717,9 @@ static bool wm2000_readable_reg(struct device *dev, unsigned int reg) | |||
717 | { | 717 | { |
718 | switch (reg) { | 718 | switch (reg) { |
719 | case WM2000_REG_SYS_START: | 719 | case WM2000_REG_SYS_START: |
720 | case WM2000_REG_ANC_GAIN_CTRL: | ||
721 | case WM2000_REG_MSE_TH1: | ||
722 | case WM2000_REG_MSE_TH2: | ||
720 | case WM2000_REG_SPEECH_CLARITY: | 723 | case WM2000_REG_SPEECH_CLARITY: |
721 | case WM2000_REG_SYS_WATCHDOG: | 724 | case WM2000_REG_SYS_WATCHDOG: |
722 | case WM2000_REG_ANA_VMID_PD_TIME: | 725 | case WM2000_REG_ANA_VMID_PD_TIME: |
diff --git a/sound/soc/codecs/wm2000.h b/sound/soc/codecs/wm2000.h index abcd82a93995..fb812cd9e77d 100644 --- a/sound/soc/codecs/wm2000.h +++ b/sound/soc/codecs/wm2000.h | |||
@@ -10,6 +10,9 @@ | |||
10 | #define _WM2000_H | 10 | #define _WM2000_H |
11 | 11 | ||
12 | #define WM2000_REG_SYS_START 0x8000 | 12 | #define WM2000_REG_SYS_START 0x8000 |
13 | #define WM2000_REG_ANC_GAIN_CTRL 0x8fa2 | ||
14 | #define WM2000_REG_MSE_TH2 0x8fdf | ||
15 | #define WM2000_REG_MSE_TH1 0x8fe0 | ||
13 | #define WM2000_REG_SPEECH_CLARITY 0x8fef | 16 | #define WM2000_REG_SPEECH_CLARITY 0x8fef |
14 | #define WM2000_REG_SYS_WATCHDOG 0x8ff6 | 17 | #define WM2000_REG_SYS_WATCHDOG 0x8ff6 |
15 | #define WM2000_REG_ANA_VMID_PD_TIME 0x8ff7 | 18 | #define WM2000_REG_ANA_VMID_PD_TIME 0x8ff7 |