diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-05-28 21:22:13 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-30 15:33:40 +0400 |
commit | a3935a29f68c261d31b41c896f95c9333b615abf (patch) | |
tree | bcaf387162fc6dc13c3df6fe81d61b60ec7f5511 /sound/soc/blackfin/bf5xx-i2s.c | |
parent | 569ef65a973e19ec3327c8efbcf26bfc844af7e3 (diff) | |
download | linux-a3935a29f68c261d31b41c896f95c9333b615abf.tar.xz |
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>
Diffstat (limited to 'sound/soc/blackfin/bf5xx-i2s.c')
0 files changed, 0 insertions, 0 deletions