]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Add support for rev 2 firmware file format
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 13 Apr 2015 12:28:04 +0000 (13:28 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Apr 2015 14:38:25 +0000 (15:38 +0100)
commit7c34cd91b874d7f1c8e3b4f2f4d4bb7abb06b5cc
tree892fc8e04685e9d5d21adbc45e3237eb3c826ece
parent0ec8e54821b8f7117f57923710d23a70c1d683f5
ASoC: wm_adsp: Add support for rev 2 firmware file format

Version 2 of the firmware file format includes length fields for the
various strings associated with control creation, to reduce file size.
However this does increase the parsing complexity slightly. This patch
adds support for the revision of the file format.

This patch also adds a new naming scheme for controls created from rev 2
firmware files. This version of the file format is commonly used to
add multiple controls per algorithm per memory region and the old
control naming scheme would cause multiple controls to have the same
name in this case.. Note that the naming scheme for older firmware
versions is left intact to ensure backwards compatibility.

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