[alsa-devel] [PATCH] ASoC: Supply dcs_codes for newer WM1811 revisions

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Nov 29 00:18:08 CET 2011


Based on initial data.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm8994.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 712a7a1..2c7a90c 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -3161,6 +3161,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;
-- 
1.7.7.3



More information about the Alsa-devel mailing list