diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2016-11-09 20:14:17 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-11 18:57:54 +0300 |
commit | f4f0c4c60c3959a8f3650850b799049161732e91 (patch) | |
tree | 56bcb46b7e049ea4e22adbe5072aff34a065b317 /sound/soc/codecs/wmfw.h | |
parent | 88c1886075e069f699c20fbc04ef6f10b8eb8c43 (diff) | |
download | linux-f4f0c4c60c3959a8f3650850b799049161732e91.tar.xz |
ASoC: wm_adsp: Signal firmware shutdown through event control
If the firmware has any system event signalling controls, signal
them during DSP PRE_PMD to tell the firmware it is about to be stopped.
Signed-off-by: Richard Fitzgerald <rf@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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wmfw.h b/sound/soc/codecs/wmfw.h index 7613d60d62ea..892fc7490f3b 100644 --- a/sound/soc/codecs/wmfw.h +++ b/sound/soc/codecs/wmfw.h @@ -26,6 +26,9 @@ #define WMFW_CTL_FLAG_WRITEABLE 0x0002 #define WMFW_CTL_FLAG_READABLE 0x0001 +/* Non-ALSA coefficient types start at 0x1000 */ +#define WMFW_CTL_TYPE_HOSTEVENT 0x1001 /* event control */ + struct wmfw_header { char magic[4]; __le32 len; |