summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm5110.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2016-01-06 12:33:19 +0000
committerMark Brown <broonie@kernel.org>2016-01-06 17:44:17 +0000
commit83a40ce993cda0757b102389e38446e79a2cc172 (patch)
tree5af530049703ae58809bbdd4d17dd4a683c909d9 /sound/soc/codecs/wm5110.c
parent565ace464105cb9623cbf4eb9549d4b0c24166c9 (diff)
downloadtalos-op-linux-83a40ce993cda0757b102389e38446e79a2cc172.tar.gz
talos-op-linux-83a40ce993cda0757b102389e38446e79a2cc172.zip
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/wm5110.c')
-rw-r--r--sound/soc/codecs/wm5110.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm5110.c b/sound/soc/codecs/wm5110.c
index dde94c4a0caa..61fa7cc91d15 100644
--- a/sound/soc/codecs/wm5110.c
+++ b/sound/soc/codecs/wm5110.c
@@ -2300,6 +2300,7 @@ static struct snd_compr_ops wm5110_compr_ops = {
.get_caps = wm_adsp_compr_get_caps,
.trigger = wm_adsp_compr_trigger,
.pointer = wm_adsp_compr_pointer,
+ .copy = wm_adsp_compr_copy,
};
static struct snd_soc_platform_driver wm5110_compr_platform = {
OpenPOWER on IntegriCloud