From 1b21fb5ff186220ef59ade95eba0cfbcb9968b95 Mon Sep 17 00:00:00 2001 From: Kevin Kim Date: Tue, 12 Mar 2019 20:16:17 +0900 Subject: [PATCH] odroid-common:Matching the mixer control with alsa-util Change-Id: I276e86be72f8bd00215b540e4c312ba5a4a1706c --- sound/soc/amlogic/auge/tdm.c | 2 ++ sound/soc/amlogic/auge/tdm_hw.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/amlogic/auge/tdm.c b/sound/soc/amlogic/auge/tdm.c index 4ab45aa0b684..5491d0a1f2a9 100644 --- a/sound/soc/amlogic/auge/tdm.c +++ b/sound/soc/amlogic/auge/tdm.c @@ -508,6 +508,8 @@ static int aml_dai_tdm_prepare(struct snd_pcm_substream *substream, i2s_to_hdmitx_ctrl(p_tdm->id); aout_notifier_call_chain(AOUT_EVENT_IEC_60958_PCM, substream); + } else { + i2s_to_hdmitx_disable(); } fifo_id = aml_frddr_get_fifo_id(fr); diff --git a/sound/soc/amlogic/auge/tdm_hw.c b/sound/soc/amlogic/auge/tdm_hw.c index f835c2cb0a30..dee2115ffd9e 100644 --- a/sound/soc/amlogic/auge/tdm_hw.c +++ b/sound/soc/amlogic/auge/tdm_hw.c @@ -779,7 +779,6 @@ 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,