diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-01 06:10:16 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-01 15:14:49 +0200 |
commit | 4537c4e7618d05c77e9f8c5259c977f927a37e2f (patch) | |
tree | 77db5f2e919cace15a8f8d3f0043bf8310fb989c /sound/soc/codecs/wm8993.c | |
parent | ASoC: Implement new DC servo readback mode for late WM8994 revisions (diff) | |
download | linux-4537c4e7618d05c77e9f8c5259c977f927a37e2f.tar.xz linux-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/wm8993.c')
-rw-r--r-- | sound/soc/codecs/wm8993.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8993.c b/sound/soc/codecs/wm8993.c index 6e85b8869af7..f014e5676d20 100644 --- a/sound/soc/codecs/wm8993.c +++ b/sound/soc/codecs/wm8993.c @@ -1433,7 +1433,8 @@ static int wm8993_probe(struct snd_soc_codec *codec) int ret, i, val; wm8993->hubs_data.hp_startup_mode = 1; - wm8993->hubs_data.dcs_codes = -2; + wm8993->hubs_data.dcs_codes_l = -2; + wm8993->hubs_data.dcs_codes_r = -2; wm8993->hubs_data.series_startup = 1; ret = snd_soc_codec_set_cache_io(codec, 8, 16, SND_SOC_I2C); |