From b19ddc0ca27b464ba72635346b5faab4e10f5e1e Mon Sep 17 00:00:00 2001 From: Meng Wang Date: Wed, 17 Nov 2021 08:44:05 +0800 Subject: [PATCH] asoc: wsa883x: update default value for VBAT_ATTN With current setting for VBAT_ATTN1/2/3, pop is heard when battery is low. Update default value for these registers to resolve pop issue. Change-Id: Ic4002a4b30ecd04b04001ca5f16bac5745a803d7 Signed-off-by: Meng Wang --- asoc/codecs/wsa883x/wsa883x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asoc/codecs/wsa883x/wsa883x.c b/asoc/codecs/wsa883x/wsa883x.c index 4ad0d363af..a7406e6e56 100644 --- a/asoc/codecs/wsa883x/wsa883x.c +++ b/asoc/codecs/wsa883x/wsa883x.c @@ -113,8 +113,8 @@ static const struct wsa_reg_mask_val reg_init[] = { {WSA883X_CURRENT_LIMIT, 0x78, 0x40}, {WSA883X_DRE_CTL_0, 0x07, 0x02}, {WSA883X_VAGC_TIME, 0x0F, 0x0F}, - {WSA883X_VAGC_ATTN_LVL_1_2, 0x70, 0x10}, - {WSA883X_VAGC_ATTN_LVL_3, 0x07, 0x02}, + {WSA883X_VAGC_ATTN_LVL_1_2, 0x77, 0x00}, + {WSA883X_VAGC_ATTN_LVL_3, 0x07, 0x01}, {WSA883X_VAGC_CTL, 0x01, 0x01}, {WSA883X_TAGC_CTL, 0x0E, 0x0A}, {WSA883X_TAGC_TIME, 0x0C, 0x0C},