ASoC: blackfin: bf5xx-i2s-pcm: Use snd_pcm_lib_preallocate_pages_for_all()
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 28 May 2013 17:22:13 +0000 (19:22 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 30 May 2013 11:33:40 +0000 (12:33 +0100)
commita3935a29f68c261d31b41c896f95c9333b615abf
treebcaf387162fc6dc13c3df6fe81d61b60ec7f5511
parent569ef65a973e19ec3327c8efbcf26bfc844af7e3
ASoC: blackfin: bf5xx-i2s-pcm: Use snd_pcm_lib_preallocate_pages_for_all()

Use snd_pcm_lib_preallocate_pages_for_all() for pre-allocating the DMA buffers
instead of re-implementing the same functionality.  Note that there is no need
to call snd_pcm_lib_free_pages_for_all() since the ALSA core takes care of this
for us.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/blackfin/bf5xx-i2s-pcm.c
This page took 0.025233 seconds and 5 git commands to generate.