Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: wm_adsp: Support new metadata block ID's

Coefficient files now support additional metadata blocks, these
contain machine parsable text strings describing the parameters
contained in the coefficient file.

Signed-off-by: James Schulman <james.schulman@cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20200723110321.16382-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

James Schulman and committed by
Mark Brown
779bedff 1ce8f643

+2
+1
sound/soc/codecs/wm_adsp.c
··· 2621 2621 switch (type) { 2622 2622 case (WMFW_NAME_TEXT << 8): 2623 2623 case (WMFW_INFO_TEXT << 8): 2624 + case (WMFW_METADATA << 8): 2624 2625 break; 2625 2626 case (WMFW_ABSOLUTE << 8): 2626 2627 /*
+1
sound/soc/codecs/wmfw.h
··· 180 180 181 181 #define WMFW_ABSOLUTE 0xf0 182 182 #define WMFW_ALGORITHM_DATA 0xf2 183 + #define WMFW_METADATA 0xfc 183 184 #define WMFW_NAME_TEXT 0xfe 184 185 #define WMFW_INFO_TEXT 0xff 185 186