]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: intel: Remove unnecessary snd_pcm_lib_preallocate_free_for_all()
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 2 Jan 2015 12:56:09 +0000 (13:56 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 6 Jan 2015 17:24:26 +0000 (17:24 +0000)
commit8686f251e4823a4196bae86f22dab8cfd3b454cc
treecc2917a5a835bcf783df1eaec7bbd240f23f78a2
parentb93673be48cef887551d109683922bcc15f40d27
ASoC: intel: 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.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/sst-baytrail-pcm.c
sound/soc/intel/sst-haswell-pcm.c
sound/soc/intel/sst-mfld-platform-pcm.c