diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2010-05-24 12:55:16 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-05-26 19:46:50 +0400 |
commit | 3ca341499612572aa1e377a37fa0220d48b12e92 (patch) | |
tree | aba9718a9327c42b5d1c7dcdbb09db2f7c4e37c4 /sound | |
parent | 6a2f1ee1f9bb5346644105c9355e9e06f6a847d3 (diff) | |
download | linux-3ca341499612572aa1e377a37fa0220d48b12e92.tar.xz |
ASoC: fix uninitialised variable in siu_dai.c
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/sh/siu_dai.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |