Unverified Commit a0f7a942 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!15633 ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe

parents 9b14a943 1a892d30
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -225,6 +225,7 @@ static int at91sam9g20ek_audio_probe(struct platform_device *pdev)
	cpu_np = of_parse_phandle(np, "atmel,ssc-controller", 0);
	if (!cpu_np) {
		dev_err(&pdev->dev, "dai and pcm info missing\n");
		of_node_put(codec_np);
		return -EINVAL;
	}
	at91sam9g20ek_dai.cpu_of_node = cpu_np;