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

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

Merge "ASoC: Fix NULL pointer dereference in digital suspend"

parents 7e4812c6 990ec812
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2574,6 +2574,10 @@ static int msm_dig_suspend(struct device *dev)
		pr_debug("%s:digcodec not initialized, return\n", __func__);
		return 0;
	}
	if (!registered_digcodec->component.card) {
		pr_debug("%s:component not initialized, return\n", __func__);
		return 0;
	}
	pdata = snd_soc_card_get_drvdata(registered_digcodec->component.card);
	if (!pdata) {
		pr_debug("%s:card not initialized, return\n", __func__);