summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-28 19:48:46 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-29 00:18:38 +0100
commitfc8e6e8668e74fbf8e00d6e143d7f43b20f73f32 (patch)
tree9d54c72e1bddbf405fd2fd8b42dc0b8aab36edec /sound
parentASoC: Error out if we can't generate a LRCLK at all for WM8994 (diff)
downloadlinux-fc8e6e8668e74fbf8e00d6e143d7f43b20f73f32.tar.xz
linux-fc8e6e8668e74fbf8e00d6e143d7f43b20f73f32.zip
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;