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

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

Merge "ASoC: msm8226: Avoid possible NULL pointer dereference"

parents 5678fffa 2db1fabe
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2274,8 +2274,7 @@ static int msm8226_asoc_machine_probe(struct platform_device *pdev)
			sizeof(struct msm8226_asoc_mach_data), GFP_KERNEL);
	if (!pdata) {
		dev_err(&pdev->dev, "Can't allocate msm8226_asoc_mach_data\n");
		ret = -ENOMEM;
		goto err;
		return -ENOMEM;
	}

	card = populate_snd_card_dailinks(&pdev->dev);