Commit 780b75b4 authored by Mark Brown's avatar Mark Brown

ASoC: Allow suppression of series updates on wm_hubs devices

Some devices do not support manual updates of the DC servo.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@ti.com>
parent f9acf9fe
......@@ -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 */
......
......@@ -24,6 +24,7 @@ struct wm_hubs_data {
int dcs_readback_mode;
int hp_startup_mode;
int series_startup;
int no_series_update;
bool class_w;
u16 class_w_dcs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment