From 993e8e8f34640701a458f8645426bee5cf1ef5ec Mon Sep 17 00:00:00 2001 From: Laxminath Kasam Date: Fri, 1 May 2020 00:22:25 +0530 Subject: [PATCH] asoc: wsa883x: Update init values of VAGC Update current limit and VAGC settings to limit the current drawn at chipset causing target reset. Change-Id: I8cc1c91d45f1e27c236c00b5b0f851502f69d82c Signed-off-by: Laxminath Kasam --- asoc/codecs/wsa883x/wsa883x.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/asoc/codecs/wsa883x/wsa883x.c b/asoc/codecs/wsa883x/wsa883x.c index 046da2d062..ca87641995 100644 --- a/asoc/codecs/wsa883x/wsa883x.c +++ b/asoc/codecs/wsa883x/wsa883x.c @@ -105,9 +105,10 @@ static const struct wsa_reg_mask_val reg_init[] = { {WSA883X_DRE_CTL_0, 0xF0, 0x90}, {WSA883X_DRE_IDLE_DET_CTL, 0x10, 0x00}, {WSA883X_PDM_WD_CTL, 0x01, 0x01}, - {WSA883X_CURRENT_LIMIT, 0x78, 0x40}, + {WSA883X_CURRENT_LIMIT, 0x78, 0x20}, {WSA883X_DRE_CTL_0, 0x07, 0x02}, - {WSA883X_VAGC_TIME, 0x03, 0x02}, + {WSA883X_VAGC_TIME, 0x0F, 0x0F}, + {WSA883X_VAGC_ATTN_LVL_3, 0x07, 0x02}, {WSA883X_VAGC_CTL, 0x01, 0x01}, {WSA883X_TAGC_CTL, 0x0E, 0x0A}, {WSA883X_TAGC_TIME, 0x0C, 0x0C},