Merge "asoc: codecs: bolero: Do not process ssr disable if already down"

这个提交包含在:
qctecmdr
2019-11-20 06:48:53 -08:00
提交者 Gerrit - the friendly Code Review server
当前提交 c0692e7848

查看文件

@@ -725,6 +725,12 @@ static void bolero_ssr_disable(struct device *dev, void *data)
struct bolero_priv *priv = data; struct bolero_priv *priv = data;
int macro_idx; int macro_idx;
if (!priv->dev_up) {
dev_err_ratelimited(priv->dev,
"%s: already disabled\n", __func__);
return;
}
bolero_cdc_notifier_call(priv, BOLERO_WCD_EVT_PA_OFF_PRE_SSR); bolero_cdc_notifier_call(priv, BOLERO_WCD_EVT_PA_OFF_PRE_SSR);
regcache_cache_only(priv->regmap, true); regcache_cache_only(priv->regmap, true);