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

Commit 8a191d74 authored by Bhalchandra Gajare's avatar Bhalchandra Gajare Committed by Banajit Goswami
Browse files

ASoC: wcd934x: force the wdsp clock to be ungated



The wcd934x codec DSP (WDSP) has clock gate that can be controlled by
driver or the hardware controller to ungate the clock to the WDSP. Due
to issues seen during back to back testing, it is found that the clock
is not properly ungated by the hardware controller and can cause hang
on the WDSP. Fix this issue by forcing the clock to be ungated from the
driver always.

CRs-fixed: 2024032
Change-Id: I668f2bb71e55474703997513dccacdc58a70a1d0
Signed-off-by: default avatarBhalchandra Gajare <gajare@codeaurora.org>
parent 855ac20b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8578,6 +8578,7 @@ static const struct tavil_reg_mask_val tavil_codec_reg_init_common_val[] = {
	{WCD934X_TLMM_DMIC3_CLK_PINCFG, 0xFF, 0x0a},
	{WCD934X_TLMM_DMIC3_DATA_PINCFG, 0xFF, 0x0a},
	{WCD934X_CPE_SS_SVA_CFG, 0x60, 0x00},
	{WCD934X_CPE_SS_CPAR_CFG, 0x10, 0x10},
};

static void tavil_codec_init_reg(struct tavil_priv *priv)