summaryrefslogtreecommitdiffstats
path: root/sound/soc/rockchip
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-06-15 21:13:33 +0200
committerMark Brown <broonie@kernel.org>2017-06-16 13:11:24 +0200
commit33c0f552c9f3721b1e9452b1c82a37992fa90bfd (patch)
tree5f87f3dbfc9c6af64d871ae5248346350977a1cd /sound/soc/rockchip
parentASoC: rockchip: Fix an error handling in 'rockchip_i2s_probe' (diff)
downloadlinux-33c0f552c9f3721b1e9452b1c82a37992fa90bfd.tar.xz
linux-33c0f552c9f3721b1e9452b1c82a37992fa90bfd.zip
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.c4
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;
}