summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8994.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-01 13:10:16 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-01 22:14:49 +0900
commit4537c4e7618d05c77e9f8c5259c977f927a37e2f (patch)
tree77db5f2e919cace15a8f8d3f0043bf8310fb989c /sound/soc/codecs/wm8994.c
parent79ef0abcd85842bc12ffb3297b958565f060464c (diff)
downloadlwn-4537c4e7618d05c77e9f8c5259c977f927a37e2f.tar.gz
lwn-4537c4e7618d05c77e9f8c5259c977f927a37e2f.zip
ASoC: Support separate left and right channel dcs_codes values
Some devices can have performance optimized by setting different offsets for left and right channels. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.c')
-rw-r--r--sound/soc/codecs/wm8994.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index c0956899d5b5..fb5c96163610 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -2973,7 +2973,8 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
switch (wm8994->revision) {
case 2:
case 3:
- wm8994->hubs.dcs_codes = -5;
+ wm8994->hubs.dcs_codes_l = -5;
+ wm8994->hubs.dcs_codes_r = -5;
wm8994->hubs.hp_startup_mode = 1;
wm8994->hubs.dcs_readback_mode = 1;
wm8994->hubs.series_startup = 1;