Merge "audio: don't reset spdifout in prepare [1/1]" into odroidg12-4.9.y-android

This commit is contained in:
Chris
2020-06-11 17:43:23 +09:00
committed by Gerrit Code Review

View File

@@ -405,6 +405,7 @@ static int aml_tdm_prepare(struct snd_pcm_substream *substream)
&& (p_tdm->samesource_sel >= 0)
&& (aml_check_sharebuffer_valid(p_tdm->fddr,
p_tdm->samesource_sel))
&& (runtime->channels > 2)
&& p_tdm->en_share)
aml_spdif_out_reset(p_tdm->samesource_sel - 3,
offset);