hdmitx: mute/unmute will send error audio sample when HBR mode [1/1]

PD#SWPL-170716

Problem:
s7d/s7 mute/unmute will send error audio sample when HBR mode

Solution:
dont contrl AUD_EN bit1 when mute/unmute

Verify:
s7d

Test:
DRM-TX-109

Change-Id: Ic27fd32c39409e43388a91de2127a3bbeeed1257
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
This commit is contained in:
Wenjie Qiao
2024-05-22 14:35:29 +08:00
committed by Luan Yuan
parent 775e2320f2
commit 42e2bbadd3
+2 -2
View File
@@ -1914,11 +1914,11 @@ static void audio_mute_op(bool flag)
{
mutex_lock(&aud_mutex);
if (flag == 0) {
hdmitx21_wr_reg(AUD_EN_IVCTX, 0);
hdmitx21_set_reg_bits(AUD_EN_IVCTX, 0, 0, 1);
hdmitx21_set_reg_bits(AUDP_TXCTRL_IVCTX, 1, 7, 1);
hdmitx21_set_reg_bits(TPI_AUD_CONFIG_IVCTX, 1, 4, 1);
} else {
hdmitx21_wr_reg(AUD_EN_IVCTX, 3);
hdmitx21_set_reg_bits(AUD_EN_IVCTX, 1, 0, 1);
hdmitx21_set_reg_bits(AUDP_TXCTRL_IVCTX, 0, 7, 1);
hdmitx21_set_reg_bits(TPI_AUD_CONFIG_IVCTX, 0, 4, 1);
}