aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8993.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-02-01 13:31:06 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-02-01 13:36:16 -0500
commitbe587ef4f20cb5a0e42264909fa702a24081a160 (patch)
treebe8495fbbcbfb11c92147f0b58eed444d5d6c213 /sound/soc/codecs/wm8993.c
parent3ed7074c4cc0de5ba77e180e5d96c23ef96859f0 (diff)
ASoC: Activate DCS correction for WM8993
Use a two code correction for optimal performance. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/wm8993.c')
-rw-r--r--sound/soc/codecs/wm8993.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8993.c b/sound/soc/codecs/wm8993.c
index bacfc2f20d70..61239e0e9556 100644
--- a/sound/soc/codecs/wm8993.c
+++ b/sound/soc/codecs/wm8993.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * wm8993.c -- WM8993 ALSA SoC audio driver 2 * wm8993.c -- WM8993 ALSA SoC audio driver
3 * 3 *
4 * Copyright 2009 Wolfson Microelectronics plc 4 * Copyright 2009, 2010 Wolfson Microelectronics plc
5 * 5 *
6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> 6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7 * 7 *
@@ -1598,6 +1598,7 @@ static int wm8993_i2c_probe(struct i2c_client *i2c,
1598 codec->private_data = wm8993; 1598 codec->private_data = wm8993;
1599 1599
1600 wm8993->hubs_data.hp_startup_mode = 1; 1600 wm8993->hubs_data.hp_startup_mode = 1;
1601 wm8993->hubs_data.dcs_codes = -2;
1601 1602
1602 memcpy(wm8993->reg_cache, wm8993_reg_defaults, 1603 memcpy(wm8993->reg_cache, wm8993_reg_defaults,
1603 sizeof(wm8993->reg_cache)); 1604 sizeof(wm8993->reg_cache));