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>
This commit is contained in:

committed by
Mark Brown

parent
406abc95a0
commit
2cd19bdbf8
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user