mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "asoc: codecs: bolero: Do not process ssr disable if already down"
This commit is contained in:
commit
c0692e7848
1 changed files with 6 additions and 0 deletions
|
|
@ -725,6 +725,12 @@ static void bolero_ssr_disable(struct device *dev, void *data)
|
|||
struct bolero_priv *priv = data;
|
||||
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);
|
||||
regcache_cache_only(priv->regmap, true);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue