]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sh: Remove unnecessary snd_pcm_lib_preallocate_free_for_all()
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 2 Jan 2015 12:56:12 +0000 (13:56 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 5 Jan 2015 21:30:05 +0000 (21:30 +0000)
commit3d505797592c366cf3ec9e18d8d6631458972838
tree078dfe8c3b822d14a510eb19c45b7e924b0a3c33
parentbfa6fa2a2dfa997f6c80e35808e50464ecfebcda
ASoC: sh: 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>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/dma-sh7760.c
sound/soc/sh/fsi.c
sound/soc/sh/siu_pcm.c