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

Commit 70012c33 authored by Sudheer Papothi's avatar Sudheer Papothi
Browse files

ASoC: wcd9330: Enable Speaker Smart Boost gating



Enable Speaker smart boost gating on WCD9330. Smart boost gating
selects legacy mode with one-shot gating on assertion of codec boost.

CRs-Fixed: 670291
Change-Id: I4a4a5448e217960dae9527237be6080a89a334b8
Signed-off-by: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent 65c7182d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6688,6 +6688,8 @@ static const struct wcd9xxx_reg_mask_val tomtom_codec_2_0_reg_init_val[] = {
	{TOMTOM_A_RX_HPH_R_TEST, 0x08, 0x00},
	{TOMTOM_A_CDC_CLIP_ADJ_SPKR_MIN_CLIP_THRESHOLD, 0xFF, 0x00},
	{TOMTOM_A_CDC_CLIP_ADJ_SPKR2_MIN_CLIP_THRESHOLD, 0xFF, 0x00},
	{TOMTOM_A_CDC_CLIP_ADJ_SPKR_BOOST_GATING, 0x01, 0x01},
	{TOMTOM_A_CDC_CLIP_ADJ_SPKR2_BOOST_GATING, 0x01, 0x01},
};

static void tomtom_codec_init_reg(struct snd_soc_codec *codec)