ASoC: Fix idma build after update for channel count check
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 9 Jan 2012 06:50:00 +0000 (22:50 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 9 Jan 2012 07:04:28 +0000 (23:04 -0800)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/samsung/idma.c

index 3ba6aba8e2b9db2ac34d61e0962e4664122c5fc9..c227c3163caeacba809ce7fc0b0b0276062a5008 100644 (file)
@@ -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;
 }