asoc: lpass-cdc: Update core voting before gfmux access
GFMUX access in va clock supported in lpass-cdc v2p5 onwards. Ensure add core voting before access. Change-Id: I36c8db86a2e7f265ab293dd6cd1f1ee3ac7722a5 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
43c99c7f0a
commit
5a96e4bc5b
@@ -962,20 +962,6 @@ static int lpass_cdc_wsa2_macro_event_handler(struct snd_soc_component *componen
|
||||
}
|
||||
break;
|
||||
case LPASS_CDC_MACRO_EVT_PRE_SSR_UP:
|
||||
/* enable&disable WSA_CORE_CLK to reset GFMUX reg */
|
||||
lpass_cdc_wsa2_macro_core_vote(wsa2_priv, true);
|
||||
ret = lpass_cdc_clk_rsc_request_clock(wsa2_priv->dev,
|
||||
wsa2_priv->default_clk_id,
|
||||
WSA_CORE_CLK, true);
|
||||
if (ret < 0)
|
||||
dev_err_ratelimited(wsa2_priv->dev,
|
||||
"%s, failed to enable clk, ret:%d\n",
|
||||
__func__, ret);
|
||||
else
|
||||
lpass_cdc_clk_rsc_request_clock(wsa2_priv->dev,
|
||||
wsa2_priv->default_clk_id,
|
||||
WSA_CORE_CLK, false);
|
||||
lpass_cdc_wsa2_macro_core_vote(wsa2_priv, true);
|
||||
break;
|
||||
case LPASS_CDC_MACRO_EVT_SSR_UP:
|
||||
trace_printk("%s, enter SSR up\n", __func__);
|
||||
|
Reference in New Issue
Block a user