From 7ba7ec0942cc66faf8353727ae263961a6413600 Mon Sep 17 00:00:00 2001 From: yicheng shen Date: Thu, 1 Nov 2018 04:27:19 -0400 Subject: [PATCH] hdmirx: fix sound noise when switch hdmi port [1/1] 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 --- drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_drv.c | 7 +++---- drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_drv.h | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_drv.c b/drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_drv.c index b86c6d9..2e99da3 100644 --- a/drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_drv.c +++ b/drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_drv.c @@ -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); diff --git a/drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_drv.h b/drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_drv.h index 0e6fb09..b1f8955 100644 --- a/drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_drv.h +++ b/drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_drv.h @@ -34,7 +34,7 @@ #include "hdmi_rx_edid.h" -#define RX_VER0 "ver.2018-10-15" +#define RX_VER0 "ver.2018-11-01" /* * * -- 2.7.4