diff options
author | Mark Brown <broonie@kernel.org> | 2017-06-15 20:13:33 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-16 12:11:24 +0100 |
commit | 33c0f552c9f3721b1e9452b1c82a37992fa90bfd (patch) | |
tree | 5f87f3dbfc9c6af64d871ae5248346350977a1cd /sound/soc/rockchip | |
parent | c3a3d3c41b74b05267bab6173f2a8224a1443ba6 (diff) |
ASoC: rockchip: Fix build
Reported-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip')
-rw-r--r-- | sound/soc/rockchip/rockchip_i2s.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c index ce09dee2202e..b4a8aff69570 100644 --- a/sound/soc/rockchip/rockchip_i2s.c +++ b/sound/soc/rockchip/rockchip_i2s.c @@ -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; } |