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)
commitcdcd7f7287532131d2075dd45f15aaf39dcfe983
tree5eb097491d1878e41b2eb1a7e001d3e834a92557
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ASoC: wm_adsp: Use vmalloc to allocate firmware download buffer

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