On Fri, Dec 3, 2010 at 6:27 PM, Seungwhan Youn <sw.youn@xxxxxxxxxxx> wrote: > 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@xxxxxxxxxxx> > --- > Â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)) { Acked-by: Jassi Brar <jassi.brar@xxxxxxxxxxx> _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel