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: Vignesh Kulothungan <vigneshk@codeaurora.org>
This commit is contained in:
Vignesh Kulothungan 2020-10-30 09:45:20 -07:00 • committed by Gerrit - the friendly Code Review server
commit eefcf012a3

View file

@ -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},