[alsa-devel] [PATCH 3/7] ASoC: intel: Remove unnecessary snd_pcm_lib_preallocate_free_for_all()

Jarkko Nikula jarkko.nikula at linux.intel.com
Mon Jan 5 10:28:40 CET 2015


On 01/02/2015 02:56 PM, 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.
>
> Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
> ---
>   sound/soc/intel/sst-baytrail-pcm.c      | 6 ------
>   sound/soc/intel/sst-haswell-pcm.c       | 6 ------
>   sound/soc/intel/sst-mfld-platform-pcm.c | 7 -------
>   3 files changed, 19 deletions(-)

Acked-by: Jarkko Nikula <jarkko.nikula at linux.intel.com>


More information about the Alsa-devel mailing list