diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2016-01-06 15:33:19 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-01-06 20:44:17 +0300 |
commit | 83a40ce993cda0757b102389e38446e79a2cc172 (patch) | |
tree | 5af530049703ae58809bbdd4d17dd4a683c909d9 /sound/soc/codecs/wm_adsp.h | |
parent | 565ace464105cb9623cbf4eb9549d4b0c24166c9 (diff) | |
download | linux-83a40ce993cda0757b102389e38446e79a2cc172.tar.xz |
ASoC: wm_adsp: Pull data through compressed read
Data is read in blocks of up to one fragment is size from the circular
buffer on the DSP and is re-packed to remove the padding byte that
exists in the DSP memory map.
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_adsp.h b/sound/soc/codecs/wm_adsp.h index 522fa1ada4e6..1a928ec54741 100644 --- a/sound/soc/codecs/wm_adsp.h +++ b/sound/soc/codecs/wm_adsp.h @@ -115,5 +115,7 @@ extern int wm_adsp_compr_trigger(struct snd_compr_stream *stream, int cmd); extern int wm_adsp_compr_handle_irq(struct wm_adsp *dsp); extern int wm_adsp_compr_pointer(struct snd_compr_stream *stream, struct snd_compr_tstamp *tstamp); +extern int wm_adsp_compr_copy(struct snd_compr_stream *stream, + char __user *buf, size_t count); #endif |