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 <jian.xu@amlogic.com>
This commit is contained in:
Jian Xu
2018-06-06 13:11:19 +08:00
committed by Yixun Lan
parent 112f12f644
commit 6d6d7dc71d
2 changed files with 3 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -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