From 6d6d7dc71dec8a67aeb43e0e85cd01e1d25e2dfa Mon Sep 17 00:00:00 2001 From: Jian Xu Date: Wed, 6 Jun 2018 13:11:19 +0800 Subject: [PATCH] audio: set atmos bit to hdmirx side [1/1] PD#167816: When HDMI ARC connected,and the ARC sink support ATMOS decoder,we need copy the edid bit in HDMIRX edid. we need interface to set that bit to hdmirx. Change-Id: Ic19bc17f166f8f10ba15e1e8b0de1f256296f9a5 Signed-off-by: Jian Xu --- sound/soc/amlogic/meson/tv.c | 2 +- sound/soc/amlogic/meson/tv.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/soc/amlogic/meson/tv.c b/sound/soc/amlogic/meson/tv.c index ad5e5c45fab4..4e88609cd0a7 100644 --- a/sound/soc/amlogic/meson/tv.c +++ b/sound/soc/amlogic/meson/tv.c @@ -466,7 +466,7 @@ static int aml_set_atmos_audio_edid(struct snd_kcontrol *kcontrol, bool enable = ucontrol->value.integer.value[0]; p_aml_audio = snd_soc_card_get_drvdata(card); - //rx_set_atmos_flag(enable); + rx_set_atmos_flag(enable); p_aml_audio->atmos_edid_enable = enable; return 0; } diff --git a/sound/soc/amlogic/meson/tv.h b/sound/soc/amlogic/meson/tv.h index 6d7a2ccee906..8a015982afb1 100644 --- a/sound/soc/amlogic/meson/tv.h +++ b/sound/soc/amlogic/meson/tv.h @@ -98,4 +98,6 @@ extern int External_Mute(int mute_flag); #else int External_Mute(int mute_flag) { return 0; } #endif +extern void rx_set_atmos_flag(bool en); +extern void rx_get_atmos_flag(void); #endif