summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_adsp.h
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2015-12-15 11:29:46 +0000
committerMark Brown <broonie@kernel.org>2015-12-23 00:20:50 +0000
commit2cd19bdbf83c4c70b2ee36d022c5ded2738d2e19 (patch)
treee666d05b93e413242342f86919c231381249a371 /sound/soc/codecs/wm_adsp.h
parent406abc95a0397e10eb6edcfe824b1a8bf6578a0b (diff)
downloadlinux-2cd19bdbf83c4c70b2ee36d022c5ded2738d2e19.tar.bz2
ASoC: wm_adsp: Add code to locate and initialise compressed buffer
Add code that locates and initialises the buffer of compressed data on the DSP if the firmware supported compressed data capture. The buffer struct (wm_adsp_compr_buf) is kept separate from the stream struct (wm_adsp_compr) this will allow much easier support of multiple streams of data from the one DSP in the future, although support for this will not be added in this patch chain. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_adsp.h b/sound/soc/codecs/wm_adsp.h
index 33c9b5283d26..0b2205a5c42f 100644
--- a/sound/soc/codecs/wm_adsp.h
+++ b/sound/soc/codecs/wm_adsp.h
@@ -32,6 +32,7 @@ struct wm_adsp_alg_region {
};
struct wm_adsp_compr;
+struct wm_adsp_compr_buf;
struct wm_adsp {
const char *part;
@@ -63,6 +64,7 @@ struct wm_adsp {
struct work_struct boot_work;
struct wm_adsp_compr *compr;
+ struct wm_adsp_compr_buf *buffer;
struct mutex pwr_lock;