diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-05-28 19:22:12 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-30 12:33:40 +0100 |
commit | 569ef65a973e19ec3327c8efbcf26bfc844af7e3 (patch) | |
tree | 4d6771752092b199cc9fb3a77add70f33667e009 /sound/arm | |
parent | 634426048462373aba69c201390c3e75bc9d00d1 (diff) | |
download | blackbird-obmc-linux-569ef65a973e19ec3327c8efbcf26bfc844af7e3.tar.gz blackbird-obmc-linux-569ef65a973e19ec3327c8efbcf26bfc844af7e3.zip |
ASoC: blackfin: bf5xx-i2s: Allocate buffer only as large as requested
There is no need to always allocate the maximum buffer size. While we are at it
also pass errors returned by snd_pcm_lib_malloc_pages() on to the upper layers.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/arm')
0 files changed, 0 insertions, 0 deletions