hdmirx: keep bandgap enabled to fix bibi sound issue
authoryicheng shen <yicheng.shen@amlogic.com>
Mon, 30 Jul 2018 05:50:20 +0000 (13:50 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 1 Aug 2018 11:31:28 +0000 (04:31 -0700)
PD#170722: hdmirx: keep bandgap enabled to fix bibi sound issue

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

index de0d222..8eec6af 100644 (file)
@@ -318,8 +318,13 @@ void hdmirx_dec_close(struct tvin_frontend_s *fe)
        struct hdmirx_dev_s *devp;
        struct tvin_parm_s *parm;
 
-       /* should disable the adc ref signal for audio pll */
-       vdac_enable(0, 0x10);
+       /*
+        * txl:should disable the adc ref signal for audio pll
+        * txlx:dont disable the adc ref signal for audio pll(not
+        *      reset the vdac) to avoid noise issue
+        */
+       if (rx.chip_id == CHIP_ID_TXL)
+               vdac_enable(0, 0x10);
 
        /* open_flage = 0; */
        rx.open_fg = 0;
index 3f9e643..8f43b86 100644 (file)
@@ -46,7 +46,7 @@
  *
  *
  */
-#define RX_VER2 "ver.2018/07/12"
+#define RX_VER2 "ver.2018/07/30"
 
 
 /* 50ms timer for hdmirx main loop (HDMI_STATE_CHECK_FREQ is 20) */