Unverified Commit 7df011ab authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents dad6b52d 03d5d959
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -538,6 +538,8 @@ static int fsl_asoc_card_probe(struct platform_device *pdev)
	if (!priv)
		return -ENOMEM;

	priv->pdev = pdev;

	cpu_np = of_parse_phandle(np, "audio-cpu", 0);
	/* Give a chance to old DT binding */
	if (!cpu_np)
@@ -718,7 +720,6 @@ static int fsl_asoc_card_probe(struct platform_device *pdev)
	}

	/* Initialize sound card */
	priv->pdev = pdev;
	priv->card.dev = &pdev->dev;
	priv->card.owner = THIS_MODULE;
	ret = snd_soc_of_parse_card_name(&priv->card, "model");