commit | a3935a29f68c261d31b41c896f95c9333b615abf | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Tue May 28 19:22:13 2013 +0200 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Thu May 30 12:33:40 2013 +0100 |
tree | bcaf387162fc6dc13c3df6fe81d61b60ec7f5511 | |
parent | 569ef65a973e19ec3327c8efbcf26bfc844af7e3 [diff] |
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>