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

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

Merge "asoc: bolero: remove mutex_lock in bolero_runtime_suspend"

parents 268db71c e59703ce
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1049,13 +1049,11 @@ int bolero_runtime_suspend(struct device *dev)
{
	struct bolero_priv *priv = dev_get_drvdata(dev->parent);

	mutex_lock(&priv->clk_lock);
	if (priv->lpass_core_hw_vote != NULL)
		clk_disable_unprepare(priv->lpass_core_hw_vote);
	else
		dev_dbg(dev, "%s: Invalid lpass core hw node\n",
			__func__);
	mutex_unlock(&priv->clk_lock);
	return 0;
}
EXPORT_SYMBOL(bolero_runtime_suspend);