asoc: codecs: Update muxsel registers only when clock counts are not stale
During SSR/PDR use cases, core clock count in different macros becomes stale and muxsel registers are accessed leading to NOC errors. Update muxsel registers only after clock counts are reset after SSR/PDR recovery. Change-Id: I656f8e7ddc8a92a325c2ba644f1a945cbafb08a0 Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

vanhempi
127718f3d9
commit
bbf44eeba1
@@ -834,6 +834,10 @@ static int bolero_ssr_enable(struct device *dev, void *data)
|
||||
priv->component,
|
||||
BOLERO_MACRO_EVT_CLK_RESET, 0x0);
|
||||
}
|
||||
|
||||
if (priv->rsc_clk_cb)
|
||||
priv->rsc_clk_cb(priv->clk_dev, BOLERO_MACRO_EVT_SSR_GFMUX_UP);
|
||||
|
||||
trace_printk("%s: clk count reset\n", __func__);
|
||||
regcache_cache_only(priv->regmap, false);
|
||||
mutex_lock(&priv->clk_lock);
|
||||
|
Viittaa uudesa ongelmassa
Block a user