mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user