Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ASoC: SAMSUNG: Fix initial return value
@ 2010-12-03  9:27 Seungwhan Youn
  2010-12-03  9:32 ` [PATCH 2/3] ASoC: SAMSUNG: Remove duplicated snd_card on smdk_spdif Seungwhan Youn
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Seungwhan Youn @ 2010-12-03  9:27 UTC (permalink / raw)
  To: alsa-devel; +Cc: Seungwhan Youn, broonie, jassi.brar, lrg

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>
---
 sound/soc/s3c24xx/smdk_spdif.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/s3c24xx/smdk_spdif.c b/sound/soc/s3c24xx/smdk_spdif.c
index c8bd904..cb658d1 100644
--- a/sound/soc/s3c24xx/smdk_spdif.c
+++ b/sound/soc/s3c24xx/smdk_spdif.c
@@ -28,7 +28,7 @@
 static int set_audio_clock_heirachy(struct platform_device *pdev)
 {
 	struct clk *fout_epll, *mout_epll, *sclk_audio0, *sclk_spdif;
-	int ret;
+	int ret = 0;
 
 	fout_epll = clk_get(NULL, "fout_epll");
 	if (IS_ERR(fout_epll)) {
-- 
1.6.2.5

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2010-12-08 10:00 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-03  9:27 [PATCH 1/3] ASoC: SAMSUNG: Fix initial return value Seungwhan Youn
2010-12-03  9:32 ` [PATCH 2/3] ASoC: SAMSUNG: Remove duplicated snd_card on smdk_spdif Seungwhan Youn
2010-12-03 10:05   ` Jassi Brar
2010-12-03  9:37 ` [PATCH 3/3] ASoC: SAMSUNG: Match spdif source clock id and asoc platform device Seungwhan Youn
2010-12-03 10:06   ` Jassi Brar
2010-12-03 10:17     ` Seungwhan Youn
2010-12-03 10:23       ` Jassi Brar
2010-12-03 10:33         ` Jassi Brar
2010-12-03 10:48           ` Seungwhan Youn
2010-12-03 11:44   ` Mark Brown
2010-12-04  5:15     ` Seungwhan Youn
2010-12-04 15:40     ` Jassi Brar
2010-12-06 12:46       ` Mark Brown
2010-12-07  2:10         ` Jassi Brar
2010-12-07 11:19           ` Mark Brown
2010-12-03  9:45 ` [PATCH 1/3] ASoC: SAMSUNG: Fix initial return value Jassi Brar
2010-12-03 16:42 ` Mark Brown
2010-12-04  0:07   ` Seungwhan Youn
2010-12-08  1:00   ` Seungwhan Youn
2010-12-08 10:00     ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox