]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ASoC: blackfin: bf5xx-i2s: Allocate buffer only as large as requested
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 28 May 2013 17:22:12 +0000 (19:22 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 30 May 2013 11:33:40 +0000 (12:33 +0100)
commit569ef65a973e19ec3327c8efbcf26bfc844af7e3
tree4d6771752092b199cc9fb3a77add70f33667e009
parent634426048462373aba69c201390c3e75bc9d00d1
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>
sound/soc/blackfin/bf5xx-i2s-pcm.c