audio: set atmos bit to hdmirx side [1/1]
authorJian Xu <jian.xu@amlogic.com>
Wed, 6 Jun 2018 05:11:19 +0000 (13:11 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Wed, 13 Jun 2018 01:55:45 +0000 (18:55 -0700)
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>
sound/soc/amlogic/meson/tv.c
sound/soc/amlogic/meson/tv.h

index ad5e5c45fab4f9d85624e773ee51f47c2a10a926..4e88609cd0a7a2cf1e3a0cb15332a4ae45e0a741 100644 (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;
 }
index 6d7a2ccee9064220e4666bb903970087083870f9..8a015982afb189f4f4d5feb6a2135e179005a2ff 100644 (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