hdmirx: mute audio when unsupport format received
authoryicheng shen <yicheng.shen@amlogic.com>
Mon, 23 Jul 2018 11:05:22 +0000 (19:05 +0800)
committeryicheng shen <yicheng.shen@amlogic.com>
Mon, 30 Jul 2018 02:30:00 +0000 (10:30 +0800)
PD#170497: hdmirx: mute audio when unsupport format received

Change-Id: Id849c725b88d1d80328f3ef6b76ba09248d5b9b8
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_drv.h
drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_hw.c

index c71e2e8..3f9e643 100644 (file)
@@ -34,7 +34,7 @@
 #include "hdmi_rx_edid.h"
 
 
-#define RX_VER0 "ver.2018-07-27"
+#define RX_VER0 "ver.2018-07-30"
 /*
  *
  *
index e01f943..1a148e1 100644 (file)
@@ -739,6 +739,8 @@ void rx_get_audinfo(struct aud_info_s *audio_info)
 void rx_get_audio_status(struct rx_audio_stat_s *aud_sts)
 {
        if ((rx.state == FSM_SIG_READY) &&
+               (rx.pre.sw_vic != HDMI_UNKNOWN) &&
+               (rx.pre.sw_vic != HDMI_UNSUPPORT) &&
                (rx.avmute_skip == 0)) {
                aud_sts->aud_rcv_flag =
                        (rx.aud_info.aud_packet_received == 0) ? false : true;