aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/smdk_spdif.c
diff options
context:
space:
mode:
authorSeungwhan Youn <sw.youn@samsung.com>2010-12-05 17:56:59 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-06 09:13:44 -0500
commitb0d8bef417eecc28f51f53bbac501c9984b3bcba (patch)
treeadbdbc462e4165c5ff55d471224e638327139bef /sound/soc/samsung/smdk_spdif.c
parent3028eb8c51d968b9e7b44a9786a4e521e37afb13 (diff)
ASoC: SAMSUNG: Fix initial return value
This patch fixed intial return value to be a '0' as asuccess on set_audio_clock_heirachy(). This avoids unintended error on initialize. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/smdk_spdif.c')
-rw-r--r--sound/soc/samsung/smdk_spdif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/smdk_spdif.c b/sound/soc/samsung/smdk_spdif.c
index ca779ad1613c..56d058d3fa0c 100644
--- a/sound/soc/samsung/smdk_spdif.c
+++ b/sound/soc/samsung/smdk_spdif.c
@@ -28,7 +28,7 @@
28static int set_audio_clock_heirachy(struct platform_device *pdev) 28static int set_audio_clock_heirachy(struct platform_device *pdev)
29{ 29{
30 struct clk *fout_epll, *mout_epll, *sclk_audio0, *sclk_spdif; 30 struct clk *fout_epll, *mout_epll, *sclk_audio0, *sclk_spdif;
31 int ret; 31 int ret = 0;
32 32
33 fout_epll = clk_get(NULL, "fout_epll"); 33 fout_epll = clk_get(NULL, "fout_epll");
34 if (IS_ERR(fout_epll)) { 34 if (IS_ERR(fout_epll)) {