summaryrefslogtreecommitdiff
path: root/sound/core/isadma.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-01-02 15:56:07 +0300
committerMark Brown <broonie@kernel.org>2015-01-06 00:28:25 +0300
commitde7621e870d527e949b5b2351e599398e5fac9ee (patch)
treeb9711b876b3526662e5c0496414ccf998d6dbcfa /sound/core/isadma.c
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
downloadlinux-de7621e870d527e949b5b2351e599398e5fac9ee.tar.xz
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 <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/core/isadma.c')
0 files changed, 0 insertions, 0 deletions