Merge branch 'fix/asoc' into for-linus

This commit is contained in:
Takashi Iwai 2012-05-05 11:27:26 +02:00
commit e9e7183fd2
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;
}