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

Commit 33c0f552 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: rockchip: Fix build

parent c3a3d3c4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -641,10 +641,10 @@ static int rockchip_i2s_probe(struct platform_device *pdev)
			goto err_pm_disable;
	}

	soc_dai = devm_kmemdup(&pdev->dev, &rockchip_i2s_dai
	soc_dai = devm_kmemdup(&pdev->dev, &rockchip_i2s_dai,
			       sizeof(*soc_dai), GFP_KERNEL);
	if (!soc_dai) {
		err = -ENOMEM;
		ret = -ENOMEM;
		goto err_pm_disable;
	}