Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eefcf012 authored by Vignesh Kulothungan's avatar Vignesh Kulothungan Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: wsa883x: disable speaker brown out protection



Disable brown out protection (bop) attenuation levels 1,2 and 3 
which causes fast and coarse transitions in gain during voltage drop.
This creates "pop" noise during the drop. Since battery current
limiting (bcl) feature is enabled with CPS, bop is redundant and
can be disabled.

Change-Id: I51617333203ba14784e2338d91a96082c55e1331
Signed-off-by: default avatarVignesh Kulothungan <vigneshk@codeaurora.org>
parent dec796e3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -104,8 +104,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, 0xFF, 0x00},
	{WSA883X_VAGC_ATTN_LVL_3, 0xFF, 0x00},
	{WSA883X_VAGC_CTL, 0x01, 0x01},
	{WSA883X_TAGC_CTL, 0x0E, 0x0A},
	{WSA883X_TAGC_TIME, 0x0C, 0x0C},