summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_hubs.c
diff options
context:
space:
mode:
authorMark Brown2011-06-08 00:32:46 +0200
committerMark Brown2011-06-23 21:05:31 +0200
commit780b75b4a0c3d6817cb2ef9493c1d1826cd6fc6b (patch)
tree18d1eb4549b0a826ae60f8c4d94847703b076b08 /sound/soc/codecs/wm_hubs.c
parentASoC: Trigger wm_hubs series update startup off a separate flag (diff)
downloadkernel-qcow2-linux-780b75b4a0c3d6817cb2ef9493c1d1826cd6fc6b.tar.gz
kernel-qcow2-linux-780b75b4a0c3d6817cb2ef9493c1d1826cd6fc6b.tar.xz
kernel-qcow2-linux-780b75b4a0c3d6817cb2ef9493c1d1826cd6fc6b.zip
ASoC: Allow suppression of series updates on wm_hubs devices
Some devices do not support manual updates of the DC servo. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c
index ee218a80e587..4ebc131b7f36 100644
--- a/sound/soc/codecs/wm_hubs.c
+++ b/sound/soc/codecs/wm_hubs.c
@@ -194,7 +194,7 @@ static int wm8993_put_dc_servo(struct snd_kcontrol *kcontrol,
/* If we're applying an offset correction then updating the
* callibration would be likely to introduce further offsets. */
- if (hubs->dcs_codes)
+ if (hubs->dcs_codes || hubs->no_series_update)
return ret;
/* Only need to do this if the outputs are active */