summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-28 22:48:46 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-29 03:18:38 +0400
commitfc8e6e8668e74fbf8e00d6e143d7f43b20f73f32 (patch)
tree9d54c72e1bddbf405fd2fd8b42dc0b8aab36edec /sound
parentfc07ecd851bd082265b52838eff12f50b88f6114 (diff)
downloadlinux-fc8e6e8668e74fbf8e00d6e143d7f43b20f73f32.tar.xz
ASoC: Supply dcs_codes for newer WM1811 revisions
Based on initial data. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8994.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 36ba1edfff80..6c2988549003 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -3183,6 +3183,8 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
switch (wm8994->revision) {
case 0:
case 1:
+ case 2:
+ case 3:
wm8994->hubs.dcs_codes_l = -9;
wm8994->hubs.dcs_codes_r = -5;
break;