summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2010-05-24 10:55:16 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-05-26 08:46:50 -0700
commit3ca341499612572aa1e377a37fa0220d48b12e92 (patch)
treeaba9718a9327c42b5d1c7dcdbb09db2f7c4e37c4 /sound
parent6a2f1ee1f9bb5346644105c9355e9e06f6a847d3 (diff)
downloadop-kernel-dev-3ca341499612572aa1e377a37fa0220d48b12e92.zip
op-kernel-dev-3ca341499612572aa1e377a37fa0220d48b12e92.tar.gz
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/sh/siu_dai.c b/sound/soc/sh/siu_dai.c
index 5452d19..c86c085 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;
OpenPOWER on IntegriCloud