Browse Source

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 <[email protected]>
Meng Wang 3 years ago
parent
commit
b19ddc0ca2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      asoc/codecs/wsa883x/wsa883x.c

+ 2 - 2
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},