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

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

Merge "ASoC: wcd9306: avoid null pointer dereference"

parents d2dc72d7 765309f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6234,7 +6234,7 @@ static struct regulator *tapan_codec_find_regulator(
	struct wcd9xxx *core = NULL;

	if (codec == NULL) {
		dev_err(codec->dev, "%s: codec not initialized\n", __func__);
		pr_err("%s: codec not initialized\n", __func__);
		return NULL;
	}
	core = dev_get_drvdata(codec->dev->parent);