From 4a24d4ded32dc6e9cd3d5123132d00988151e03b Mon Sep 17 00:00:00 2001 From: Yuhui Zhao Date: Tue, 19 Mar 2024 17:25:29 +0800 Subject: [PATCH] asoc: remove test reg configuration from init_reg func Remove test reg configuration from init_reg func to avoid pop noise in hph playback with comp enable. Change-Id: I7c49d224e92c28cfdd2e971095ac5e6fa6db14c9 Signed-off-by: Yuhui Zhao --- asoc/codecs/wcd9378/wcd9378.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/asoc/codecs/wcd9378/wcd9378.c b/asoc/codecs/wcd9378/wcd9378.c index 75d62b9f0f..b1579b88e9 100644 --- a/asoc/codecs/wcd9378/wcd9378.c +++ b/asoc/codecs/wcd9378/wcd9378.c @@ -295,12 +295,6 @@ static int wcd9378_init_reg(struct snd_soc_component *component) /*SCD OP EN*/ snd_soc_component_update_bits(component, WCD9378_HPH_OCP_CTL, WCD9378_HPH_OCP_CTL_SCD_OP_EN_MASK, 0x02); - /*OCP DET EN*/ - snd_soc_component_update_bits(component, WCD9378_HPH_L_TEST, - WCD9378_HPH_L_TEST_OCP_DET_EN_MASK, 0x01); - /*OCP DET EN*/ - snd_soc_component_update_bits(component, WCD9378_HPH_R_TEST, - WCD9378_HPH_R_TEST_OCP_DET_EN_MASK, 0x01); /*HD2_RES_DIV_CTL_L 82.77*/ snd_soc_component_update_bits(component, WCD9378_HPH_NEW_INT_RDAC_HD2_CTL_L,