summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_adsp.h
diff options
context:
space:
mode:
authorCharles Keepax2015-04-13 14:28:02 +0200
committerMark Brown2015-04-27 16:38:25 +0200
commit2323736dca72ff368ff47ea23d1a710020db0618 (patch)
treec25084f2ca2a7f6380c55b7872c3668c6fa67a00 /sound/soc/codecs/wm_adsp.h
parentASoC: wm_adsp: Group all the ALSA control functions together (diff)
downloadkernel-qcow2-linux-2323736dca72ff368ff47ea23d1a710020db0618.tar.gz
kernel-qcow2-linux-2323736dca72ff368ff47ea23d1a710020db0618.tar.xz
kernel-qcow2-linux-2323736dca72ff368ff47ea23d1a710020db0618.zip
ASoC: wm_adsp: Add basic support for rev 1 firmware file format
Revision one of the file format includes new algorithm and coefficient blocks which provide additional information about the controls exported by the firmware. This patch updates the processing to handle this version of the file format. Note that whilst this version of the format adds support for specifying a name for the control through the firmware file this has not been used and to keep compatibility with existing deployments no changes to the firmware control naming are made by this patch. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm_adsp.h')
-rw-r--r--sound/soc/codecs/wm_adsp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_adsp.h b/sound/soc/codecs/wm_adsp.h
index 0ad14e04196b..4fe066745377 100644
--- a/sound/soc/codecs/wm_adsp.h
+++ b/sound/soc/codecs/wm_adsp.h
@@ -53,6 +53,7 @@ struct wm_adsp {
int num_mems;
int fw;
+ int fw_ver;
bool running;
struct regulator *dvfs;