Merge branch 'for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/asoc into fix/asoc

This commit is contained in:
Takashi Iwai 2012-05-05 11:26:50 +02:00
commit b339583c57
1 changed files with 4 additions and 0 deletions

View File

@ -401,6 +401,10 @@ static int omap_pcm_new(struct snd_soc_pcm_runtime *rtd)
}
out:
/* free preallocated buffers in case of error */
if (ret)
omap_pcm_free_dma_buffers(pcm);
return ret;
}