From e7fe56502f78140f71cec7f851a00f61d5d2c0ff Mon Sep 17 00:00:00 2001 From: Shuai Li Date: Sun, 13 Jan 2019 23:03:48 +0800 Subject: [PATCH] audio: add stream mute and continuous clk [1/1] PD#SWPL-2952 Problem: Pop noise could be heard when switching between sources. Solution: 1. Add stream digital mute functions. 2. continuous clock to eliminate the clk reset issue. Verify: Local verified. Change-Id: I372f4c03aaf875d75aa903c9c2dfda00619af000 Signed-off-by: Shuai Li Conflicts: sound/soc/amlogic/auge/tdm_hw.c sound/soc/amlogic/auge/tdm_hw.h --- sound/soc/amlogic/auge/tdm_hw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/amlogic/auge/tdm_hw.c b/sound/soc/amlogic/auge/tdm_hw.c index 83874c90c79e..2927beb5c2f5 100644 --- a/sound/soc/amlogic/auge/tdm_hw.c +++ b/sound/soc/amlogic/auge/tdm_hw.c @@ -698,6 +698,7 @@ void i2s_to_hdmitx_disable(void) { audiobus_write(EE_AUDIO_TOHDMITX_CTRL0, 0); } + void aml_tdm_mute_playback( struct aml_audio_controller *actrl, int tdm_index,