Commit b2ed1b0b authored by Mark Brown's avatar Mark Brown

ASoC: Fix idma build after update for channel count check

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 25e9e756
...@@ -398,6 +398,7 @@ static int idma_new(struct snd_soc_pcm_runtime *rtd) ...@@ -398,6 +398,7 @@ static int idma_new(struct snd_soc_pcm_runtime *rtd)
if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) {
ret = preallocate_idma_buffer(pcm, ret = preallocate_idma_buffer(pcm,
SNDRV_PCM_STREAM_PLAYBACK); SNDRV_PCM_STREAM_PLAYBACK);
}
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment