aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_hubs.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-29 16:40:08 +0000
committerAndreas Blaesius <skate4life@gmx.de>2016-04-30 11:03:57 +0200
commit5a6ff123e2a340d33079b9f7920859b155615527 (patch)
tree51ddcea01bb61a7c20303c7baf4bf0822be33cca /sound/soc/codecs/wm_hubs.c
parentc894960eb9b9337dd951820c5201395bee21e9c0 (diff)
downloadkernel_samsung_espresso10-5a6ff123e2a340d33079b9f7920859b155615527.tar.gz
kernel_samsung_espresso10-5a6ff123e2a340d33079b9f7920859b155615527.tar.bz2
kernel_samsung_espresso10-5a6ff123e2a340d33079b9f7920859b155615527.zip
ASoC: wm_hubs: Disable cache of the DC servo calibration for WM1811
The WM1811 DC servo is able to run much faster than previous devices so the benefit of skipping calibration is not useful. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.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 349c5383596..5c650932b56 100644
--- a/sound/soc/codecs/wm_hubs.c
+++ b/sound/soc/codecs/wm_hubs.c
@@ -208,7 +208,7 @@ static void calibrate_dc_servo(struct snd_soc_codec *codec)
/* Save the callibrated offset if we're in class W mode and
* therefore don't have any analogue signal mixed in. */
- if (hubs->class_w)
+ if (hubs->class_w && !hubs->no_cache_class_w)
hubs->class_w_dcs = dcs_cfg;
}