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

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

Merge "wcd934x: Fix NULL pointer dereference for wcd9xxx pointer"

parents d72c877e 8d860221
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -8939,6 +8939,8 @@ static struct snd_soc_dai_driver tavil_i2s_dai[] = {


static void tavil_codec_power_gate_digital_core(struct tavil_priv *tavil)
static void tavil_codec_power_gate_digital_core(struct tavil_priv *tavil)
{
{
	if (!tavil)
		return;
	mutex_lock(&tavil->power_lock);
	mutex_lock(&tavil->power_lock);
	dev_dbg(tavil->dev, "%s: Entering power gating function, %d\n",
	dev_dbg(tavil->dev, "%s: Entering power gating function, %d\n",
		__func__, tavil->power_active_ref);
		__func__, tavil->power_active_ref);