[alsa-devel] [PATCH] ASoC: omap-pcm: Free dma buffers in case of error.

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Apr 20 15:08:10 CEST 2012


On Thu, Apr 19, 2012 at 07:00:55PM +0300, Ujfalusi, Peter wrote:

> If the playback preallocation fails, or if only capture is supported
> on the dai link
> this is not needed.
> It only applies if we have both playback and capture streams and the capture
> preallocation fails.
> Luckily the omap_pcm_free_dma_buffers() has internal checks for these cases...

> Acked-by: Peter Ujfalusi <peter.ujfalusi at ti.com>

Always CC maintainers on patches...


More information about the Alsa-devel mailing list