ASoC: wm_adsp: Split firmware load into smaller chunks
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 5 Mar 2014 14:28:16 +0000 (14:28 +0000)
committerMark Brown <broonie@linaro.org>
Thu, 6 Mar 2014 04:34:31 +0000 (12:34 +0800)
commitc1a7898d655fd265feefcf6fe82ab0096e6d078e
treeec35b473c4dc2dfa7eeb0f949a10203dd20dd05d
parent055bbe2df957343fece60fe1f60553a9c1005217
ASoC: wm_adsp: Split firmware load into smaller chunks

The firmware files can be quite large and allocating the whole firmware
a single DMA safe buffer can be problematic if the system is under a
high memory load. Ease the requirements slightly by writing the firmware
out in page sized chunks.

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