From accfca81ba1cb8af53ffca8dd828060e87f7c1b7 Mon Sep 17 00:00:00 2001 From: Brian Austin Date: Tue, 30 Jan 2018 08:07:53 -0600 Subject: [PATCH] SoC: cs35l36: K1/2 coeff update for performance The defaults for Boost Coeff K1 and K2 values are to be updated to give better performance Change-Id: I1c8a757fc0358e9e7ad0a878307dbe192143adcb Signed-off-by: Brian Austin Signed-off-by: Ravi Vembu Mot-CRs-fixed: (CR) Reviewed-on: https://gerrit.mot.com/1140352 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Vladimir Karpovich Submit-Approved: Jira Key --- sound/soc/codecs/cs35l36.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/cs35l36.c b/sound/soc/codecs/cs35l36.c index fa2a9348555e..b68bb4452bd4 100644 --- a/sound/soc/codecs/cs35l36.c +++ b/sound/soc/codecs/cs35l36.c @@ -877,10 +877,10 @@ static int cs35l36_codec_set_sysclk(struct snd_soc_codec *codec, static int cs35l36_boost_inductor(struct cs35l36_private *cs35l36, int inductor) { regmap_update_bits(cs35l36->regmap, CS35L36_BSTCVRT_COEFF, - CS35L36_BSTCVRT_K1_MASK, 0x40); + CS35L36_BSTCVRT_K1_MASK, 0x3C); regmap_update_bits(cs35l36->regmap, CS35L36_BSTCVRT_COEFF, CS35L36_BSTCVRT_K2_MASK, - 0x48 << CS35L36_BSTCVRT_K2_SHIFT); + 0x3C << CS35L36_BSTCVRT_K2_SHIFT); regmap_update_bits(cs35l36->regmap, CS35L36_BSTCVRT_SW_FREQ, CS35L36_BSTCVRT_CCMFREQ_MASK, 0x00);