ASoC: wm_adsp: Use vmalloc to allocate firmware download buffer
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 14 Nov 2014 15:40:45 +0000 (15:40 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 14 Nov 2014 17:32:25 +0000 (17:32 +0000)
Use vmalloc to allocate the buffer for firmware/coefficient download and
rely on the SPI core to split this up into DMA-able chunks. This should
give better performance and means we no longer need to manually split
the download into page size chunks to avoid allocating overly large
continuous memory regions.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c

Simple merge