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:
@ -641,10 +641,10 @@ static int rockchip_i2s_probe(struct platform_device *pdev)
|
|||||||
goto err_pm_disable;
|
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);
|
sizeof(*soc_dai), GFP_KERNEL);
|
||||||
if (!soc_dai) {
|
if (!soc_dai) {
|
||||||
err = -ENOMEM;
|
ret = -ENOMEM;
|
||||||
goto err_pm_disable;
|
goto err_pm_disable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user