Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4ad6ff1 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "asoc: codecs: bolero: audio HM voting only supported on bengal"

parents 18fe5247 6b01d100
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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) {