Browse Source

ASoC: Fix idma build after update for channel count check

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 13 years ago
parent
commit
b2ed1b0bc6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      sound/soc/samsung/idma.c

+ 1 - 0
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;
 }