mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-23 13:59:40 +07:00
ASoC: rockchip: Fix build
Reported-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
c3a3d3c41b
commit
33c0f552c9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user