From: Guennadi Liakhovetski Date: Mon, 24 May 2010 08:55:16 +0000 (+0200) Subject: ASoC: fix uninitialised variable in siu_dai.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3ca341499612572aa1e377a37fa0220d48b12e92;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ASoC: fix uninitialised variable in siu_dai.c Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mark Brown --- diff --git a/sound/soc/sh/siu_dai.c b/sound/soc/sh/siu_dai.c index 5452d19607e1..c86c0858d6e2 100644 --- a/sound/soc/sh/siu_dai.c +++ b/sound/soc/sh/siu_dai.c @@ -587,6 +587,8 @@ static int siu_dai_prepare(struct snd_pcm_substream *substream, ret = siu_dai_spbstart(port_info); if (ret < 0) goto fail; + } else { + ret = 0; } port_info->play_cap |= self;