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 de0d222edbb64d9fc54aa9f8f9ff8ad54bd17e4c..8eec6afaf46a2f4e4a5d88a77fffcc540ba67ab5 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 3f9e643a91ebb124ac50828cd4fdb85b0a195eee..8f43b864432a98518e13a88e1ccb31f697cf2e42 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) */