diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-01-02 13:56:07 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-05 21:28:25 +0000 |
commit | de7621e870d527e949b5b2351e599398e5fac9ee (patch) | |
tree | b9711b876b3526662e5c0496414ccf998d6dbcfa /sound/pcmcia | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) | |
download | linux-de7621e870d527e949b5b2351e599398e5fac9ee.tar.bz2 |
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/pcmcia')
0 files changed, 0 insertions, 0 deletions