[alsa-devel] [PATCH 1/7] ASoC: dmaengine: Remove unnecessary snd_pcm_lib_preallocate_free_for_all()

Mark Brown broonie at kernel.org
Mon Jan 5 22:30:34 CET 2015


On Fri, Jan 02, 2015 at 01:56:07PM +0100, Lars-Peter Clausen wrote:
> The ALSA core takes care that all preallocated memory is freed when the PCM
> itself is freed. There is no need to do this manually in the driver.
> Similarly there is also no need to do it on the pcm_new() error path as the
> PCM will be freed if a error is returned.

Applied all, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150105/acba4215/attachment.sig>


More information about the Alsa-devel mailing list