From: Lars-Peter Clausen Date: Fri, 2 Jan 2015 12:56:07 +0000 (+0100) Subject: ASoC: dmaengine: Remove unnecessary snd_pcm_lib_preallocate_free_for_all() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~130^2~13^2~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de7621e870d527e949b5b2351e599398e5fac9ee;p=pandora-kernel.git ASoC: dmaengine: Remove unnecessary snd_pcm_lib_preallocate_free_for_all() 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. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed