diff options
author | Mark Brown <broonie@kernel.org> | 2019-01-18 19:14:36 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-18 19:14:36 +0000 |
commit | f557d39a3cb8ea892dada232c51479ae3628cdee (patch) | |
tree | 028e1cb24c8e62663b78689ce7c91b2fdb86551c /sound/soc/codecs/tlv320aic32x4.c | |
parent | e412fcb0db5c44a3450ca678b281ea9332e6bf82 (diff) | |
parent | 4cb79ef9c6c4413427cd70afbb1f3bc01e9b7abf (diff) |
Merge tag 'asoc-fix-v5.0-rc2' into asoc-5.1
ASoC: Fixes for v5.0
Quite a big batch of fixes here. There's a couple of things going on,
the main one is that we found some issues with not deferring probe when
we should, causing us to skip some driver initialization. The fixes for
this then in turn exposed some issues with how we were searching for
components which had previously gone unnoticed due to the original
issue.
There's also been the normal driver specific stuff and there's been what
looks like several batches of automated scanning for issues which have
generated quite a large set of smaller fixes for potential crashes and
missed error handling.
Diffstat (limited to 'sound/soc/codecs/tlv320aic32x4.c')
-rw-r--r-- | sound/soc/codecs/tlv320aic32x4.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/tlv320aic32x4.c b/sound/soc/codecs/tlv320aic32x4.c index 521663d8b585..e1bfba62fc08 100644 --- a/sound/soc/codecs/tlv320aic32x4.c +++ b/sound/soc/codecs/tlv320aic32x4.c @@ -850,6 +850,10 @@ static int aic32x4_set_bias_level(struct snd_soc_component *component, case SND_SOC_BIAS_PREPARE: break; case SND_SOC_BIAS_STANDBY: + /* Initial cold start */ + if (snd_soc_component_get_bias_level(component) == SND_SOC_BIAS_OFF) + break; + /* Switch off BCLK_N Divider */ snd_soc_component_update_bits(component, AIC32X4_BCLKN, AIC32X4_BCLKEN, 0); |