summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_hubs.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-07 23:23:52 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-23 20:05:23 +0100
commitf9acf9fe5be653aa359c75d60fdaff03bf1ef471 (patch)
tree6186dd96f94b368883534c356315692407de9cbd /sound/soc/codecs/wm_hubs.c
parentec3ea54c6c7163f5d6bbf52dd1ec485de2c378b6 (diff)
downloadblackbird-op-linux-f9acf9fe5be653aa359c75d60fdaff03bf1ef471.tar.gz
blackbird-op-linux-f9acf9fe5be653aa359c75d60fdaff03bf1ef471.zip
ASoC: Trigger wm_hubs series update startup off a separate flag
Allowing the two to be used independently. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/codecs/wm_hubs.c')
-rw-r--r--sound/soc/codecs/wm_hubs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c
index 9e370d14ad88..ee218a80e587 100644
--- a/sound/soc/codecs/wm_hubs.c
+++ b/sound/soc/codecs/wm_hubs.c
@@ -107,8 +107,7 @@ static void calibrate_dc_servo(struct snd_soc_codec *codec)
return;
}
- /* Devices not using a DCS code correction have startup mode */
- if (hubs->dcs_codes) {
+ if (hubs->series_startup) {
/* Set for 32 series updates */
snd_soc_update_bits(codec, WM8993_DC_SERVO_1,
WM8993_DCS_SERIES_NO_01_MASK,
OpenPOWER on IntegriCloud