From: Lars-Peter Clausen Date: Tue, 28 May 2013 17:22:12 +0000 (+0200) Subject: ASoC: blackfin: bf5xx-i2s: Allocate buffer only as large as requested X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~15^2~3^2~24^2~28^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=569ef65a973e19ec3327c8efbcf26bfc844af7e3;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed