From fd6155a232b9ebc74600ccbffe2edc71393513cc Mon Sep 17 00:00:00 2001 From: Sudheer Papothi Date: Sat, 28 Mar 2020 10:03:21 +0530 Subject: [PATCH] ASoC: wsa-macro: Update smart boost sequence for wsa883x Update smart boost sequence for wsa883x speaker amplifier to reach max voltage at full scale signal. Change-Id: Ic1a9ce13753d6e573c7916ae99643c85d6892aa0 Signed-off-by: Sudheer Papothi --- asoc/codecs/bolero/wsa-macro.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/asoc/codecs/bolero/wsa-macro.c b/asoc/codecs/bolero/wsa-macro.c index e7e5efc258..bc9e23e74c 100644 --- a/asoc/codecs/bolero/wsa-macro.c +++ b/asoc/codecs/bolero/wsa-macro.c @@ -2715,10 +2715,10 @@ static const struct snd_soc_dapm_route wsa_audio_map[] = { static const struct wsa_macro_reg_mask_val wsa_macro_reg_init[] = { {BOLERO_CDC_WSA_BOOST0_BOOST_CFG1, 0x3F, 0x12}, {BOLERO_CDC_WSA_BOOST0_BOOST_CFG2, 0x1C, 0x08}, - {BOLERO_CDC_WSA_COMPANDER0_CTL7, 0x1E, 0x18}, + {BOLERO_CDC_WSA_COMPANDER0_CTL7, 0x1E, 0x0C}, {BOLERO_CDC_WSA_BOOST1_BOOST_CFG1, 0x3F, 0x12}, {BOLERO_CDC_WSA_BOOST1_BOOST_CFG2, 0x1C, 0x08}, - {BOLERO_CDC_WSA_COMPANDER1_CTL7, 0x1E, 0x18}, + {BOLERO_CDC_WSA_COMPANDER1_CTL7, 0x1E, 0x0C}, {BOLERO_CDC_WSA_BOOST0_BOOST_CTL, 0x70, 0x58}, {BOLERO_CDC_WSA_BOOST1_BOOST_CTL, 0x70, 0x58}, {BOLERO_CDC_WSA_RX0_RX_PATH_CFG1, 0x08, 0x08}, @@ -2729,8 +2729,6 @@ static const struct wsa_macro_reg_mask_val wsa_macro_reg_init[] = { {BOLERO_CDC_WSA_TX1_SPKR_PROT_PATH_CFG0, 0x01, 0x01}, {BOLERO_CDC_WSA_TX2_SPKR_PROT_PATH_CFG0, 0x01, 0x01}, {BOLERO_CDC_WSA_TX3_SPKR_PROT_PATH_CFG0, 0x01, 0x01}, - {BOLERO_CDC_WSA_COMPANDER0_CTL3, 0x80, 0x80}, - {BOLERO_CDC_WSA_COMPANDER1_CTL3, 0x80, 0x80}, {BOLERO_CDC_WSA_COMPANDER0_CTL7, 0x01, 0x01}, {BOLERO_CDC_WSA_COMPANDER1_CTL7, 0x01, 0x01}, {BOLERO_CDC_WSA_RX0_RX_PATH_CFG0, 0x01, 0x01},