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

Commit f194272a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: wcd934x: Reset power_active_ref to 0 when it is negative" into audio-drivers.lnx.3.0

parents c3f38987 da08f2f3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -9002,8 +9002,10 @@ static int tavil_dig_core_power_collapse(struct tavil_priv *tavil,
		goto unlock_mutex;

	if (tavil->power_active_ref < 0) {
		dev_dbg(tavil->dev, "%s: power_active_ref is negative\n",
		dev_dbg(tavil->dev,
			"%s: power_active_ref is negative, reset it\n",
			__func__);
		tavil->power_active_ref = 0;
		goto unlock_mutex;
	}