mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user