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: Bhalchandra Gajare <gajare@codeaurora.org>
This commit is contained in:
Bhalchandra Gajare
2017-03-24 13:24:58 -07:00
committed by Gerrit - the friendly Code Review server
parent bb8a119b3c
commit a01a170500

View File

@@ -8581,6 +8581,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)