From 0a93a9915651c4c36b4266f2ec05f0c48f13962e Mon Sep 17 00:00:00 2001 From: Prasad Kumpatla Date: Tue, 11 Jul 2023 17:01:33 +0530 Subject: [PATCH] asoc: wsa884x: adjust the deglitch settings for wsa884x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue: when we change the UVLO_DEGLITCH_SETTING (0x3460) 6.8ms and above, we can’t hear any audio playback from the Music app even at max voltage (4.1V). HW team suggest to change the UVLO_DEGLITCH_SETTING from 0x1B to 0x1D and WSA884X_PA_FSM_TIMER0(0x3433) to 0xC0. By these two settings playback is not getting mute. Change-Id: I5d2d57c26d7f467ba3d2231f1642f34643f6d716 Signed-off-by: Ganapathiraju Sarath Varma Signed-off-by: Prasad Kumpatla --- asoc/codecs/wsa884x/wsa884x.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/asoc/codecs/wsa884x/wsa884x.c b/asoc/codecs/wsa884x/wsa884x.c index 744044d819..7cea810fa8 100644 --- a/asoc/codecs/wsa884x/wsa884x.c +++ b/asoc/codecs/wsa884x/wsa884x.c @@ -146,9 +146,10 @@ static const struct wsa_reg_mask_val reg_init_2S[] = { }; static const struct wsa_reg_mask_val reg_init_uvlo[] = { - {WSA884X_UVLO_PROG, 0xFF, 0x77}, - {WSA884X_UVLO_DEGLITCH_CTL, 0xFF, 0x1B}, - {WSA884X_UVLO_PROG1, 0xFF, 0x40}, + {WSA884X_UVLO_PROG, 0xFF, 0x77}, + {WSA884X_PA_FSM_TIMER0, 0xFF, 0xC0}, + {WSA884X_UVLO_DEGLITCH_CTL, 0xFF, 0x1D}, + {WSA884X_UVLO_PROG1, 0xFF, 0x40}, }; static int wsa884x_handle_post_irq(void *data);