diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2021-09-13 17:00:50 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-09-27 13:00:35 +0100 |
commit | 6092be2d93b3b28dfeca4e5944052a1a21f51ca3 (patch) | |
tree | 33c5f066f3dda3e0a570dfdaa66ed1a7e03c4273 /sound/soc/codecs/wm_adsp.h | |
parent | 186152df4d431650154c3e3aefc7d3e1004987c8 (diff) | |
download | linux-6092be2d93b3b28dfeca4e5944052a1a21f51ca3.tar.gz linux-6092be2d93b3b28dfeca4e5944052a1a21f51ca3.tar.bz2 linux-6092be2d93b3b28dfeca4e5944052a1a21f51ca3.zip |
ASoC: wm_adsp: Move sys_config_size to wm_adsp
sys_config_size is part of the compressed stream support, move it from
what will become generic DSP code so that it remains in ASoC.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210913160057.103842-10-simont@opensource.cirrus.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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm_adsp.h b/sound/soc/codecs/wm_adsp.h index 114bc41981ef..98b12b485916 100644 --- a/sound/soc/codecs/wm_adsp.h +++ b/sound/soc/codecs/wm_adsp.h @@ -81,6 +81,8 @@ struct wm_adsp { const struct cs_dsp_region *mem; int num_mems; + unsigned int sys_config_size; + int fw; int fw_ver; @@ -109,8 +111,6 @@ struct wm_adsp { }; struct cs_dsp_ops { - unsigned int sys_config_size; - bool (*validate_version)(struct wm_adsp *dsp, unsigned int version); unsigned int (*parse_sizes)(struct wm_adsp *dsp, const char * const file, |