mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
Merge "asoc: codecs: bolero: audio HM voting only supported on bengal"
This commit is contained in:
commit
f4ad6ff187
1 changed files with 2 additions and 2 deletions
|
|
@ -1111,12 +1111,12 @@ int bolero_runtime_resume(struct device *dev)
|
|||
struct bolero_priv *priv = dev_get_drvdata(dev->parent);
|
||||
int ret = 0;
|
||||
|
||||
mutex_lock(&priv->vote_lock);
|
||||
if (priv->lpass_core_hw_vote == NULL) {
|
||||
dev_dbg(dev, "%s: Invalid lpass core hw node\n", __func__);
|
||||
return 0;
|
||||
goto audio_vote;
|
||||
}
|
||||
|
||||
mutex_lock(&priv->vote_lock);
|
||||
if (priv->core_hw_vote_count == 0) {
|
||||
ret = clk_prepare_enable(priv->lpass_core_hw_vote);
|
||||
if (ret < 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue