hdmirx: fix sound noise when switch hdmi port [1/1]
authoryicheng shen <yicheng.shen@amlogic.com>
Thu, 1 Nov 2018 08:27:19 +0000 (04:27 -0400)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 7 Nov 2018 14:42:18 +0000 (07:42 -0700)
PD#SWPL-1224

Problem:
There will sound noise when switch hdmi port.

Solution:
Remove bandgap off when close port.

Verify:
Locally

Change-Id: Ibd9be3aa6f32072918f7b1ec151463452b2b879a
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 b86c6d9..2e99da3 100644 (file)
@@ -356,10 +356,9 @@ void hdmirx_dec_close(struct tvin_frontend_s *fe)
         * 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)*/
-       if (rx.hdmirxdev->data->chip_id == CHIP_ID_TXL)
-               vdac_enable(0, 0x10);
-
+       /* For txl,also need to keep bandgap always on:SWPL-1224 */
+       /* if (rx.hdmirxdev->data->chip_id == CHIP_ID_TXL) */
+               /* vdac_enable(0, 0x10); */
        /* open_flage = 0; */
        rx.open_fg = 0;
        devp = container_of(fe, struct hdmirx_dev_s, frontend);
index 0e6fb09..b1f8955 100644 (file)
@@ -34,7 +34,7 @@
 #include "hdmi_rx_edid.h"
 
 
-#define RX_VER0 "ver.2018-10-15"
+#define RX_VER0 "ver.2018-11-01"
 /*
  *
  *