audio: optimize spdif notify prepare HDMITX [1/1]

PD#SWPL-175070

Problem:
MAT sometimes has no output for HDMITX.

Solution:
Optimize hdmitx and audio sequence.

Verify:
Ohm

Change-Id: I0e45ca1063037830751fa58508203693e1b579d9
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
This commit is contained in:
Shuai Li
2024-08-30 14:20:25 +00:00
committed by gerrit autosubmit
parent 334b68e1b6
commit d0302df57d
+1
View File
@@ -1388,6 +1388,7 @@ static int aml_dai_spdif_prepare(struct snd_pcm_substream *substream,
if (separated)
enable_spdif_to_hdmitx_clk(true);
enable_spdif_to_hdmitx_dat(false);
notify_hdmitx_to_prepare();
}
if (p_spdif->codec_type == AUD_CODEC_TYPE_TRUEHD ||