summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wmfw.h
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2015-04-20 13:52:45 +0100
committerMark Brown <broonie@kernel.org>2015-04-27 15:38:26 +0100
commit26c22a1922b9a5141f798e273e3e19b04a7a85de (patch)
tree1dfe99f2546f6ffa912935ca1d82d66b2b01ce11 /sound/soc/codecs/wmfw.h
parent8299ee8123a7ef708811c3ff09eae0cf0874b651 (diff)
downloadlinux-26c22a1922b9a5141f798e273e3e19b04a7a85de.tar.bz2
ASoC: wm_adsp: Add support for DSP control flags
The DSP control information contains various hints about the usage of the control use these when handling the control. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wmfw.h')
-rw-r--r--sound/soc/codecs/wmfw.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/codecs/wmfw.h b/sound/soc/codecs/wmfw.h
index 04690b238b3c..7613d60d62ea 100644
--- a/sound/soc/codecs/wmfw.h
+++ b/sound/soc/codecs/wmfw.h
@@ -21,6 +21,11 @@
#define WMFW_MAX_COEFF_NAME 256
#define WMFW_MAX_COEFF_DESCR_NAME 256
+#define WMFW_CTL_FLAG_SYS 0x8000
+#define WMFW_CTL_FLAG_VOLATILE 0x0004
+#define WMFW_CTL_FLAG_WRITEABLE 0x0002
+#define WMFW_CTL_FLAG_READABLE 0x0001
+
struct wmfw_header {
char magic[4];
__le32 len;