diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2010-05-24 04:55:16 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-05-26 11:46:50 -0400 |
commit | 3ca341499612572aa1e377a37fa0220d48b12e92 (patch) | |
tree | aba9718a9327c42b5d1c7dcdbb09db2f7c4e37c4 /sound | |
parent | 6a2f1ee1f9bb5346644105c9355e9e06f6a847d3 (diff) |
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, | |||
587 | ret = siu_dai_spbstart(port_info); | 587 | ret = siu_dai_spbstart(port_info); |
588 | if (ret < 0) | 588 | if (ret < 0) |
589 | goto fail; | 589 | goto fail; |
590 | } else { | ||
591 | ret = 0; | ||
590 | } | 592 | } |
591 | 593 | ||
592 | port_info->play_cap |= self; | 594 | port_info->play_cap |= self; |