summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-08 22:50:00 -0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-08 23:04:28 -0800
commitb2ed1b0bc69e53d68aa01b79ca0944311b553fc1 (patch)
treed12cf53ff1146457dff399b8e5bc83630af706e3 /sound/soc
parent25e9e7565f9aa9e4b976387a3fab60bfaa4efac8 (diff)
ASoC: Fix idma build after update for channel count check
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/samsung/idma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/samsung/idma.c b/sound/soc/samsung/idma.c
index 3ba6aba8e2b..c227c3163ca 100644
--- a/sound/soc/samsung/idma.c
+++ b/sound/soc/samsung/idma.c
@@ -398,6 +398,7 @@ static int idma_new(struct snd_soc_pcm_runtime *rtd)
if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) {
ret = preallocate_idma_buffer(pcm,
SNDRV_PCM_STREAM_PLAYBACK);
+ }
return ret;
}