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