summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/amd/acp-common.c
diff options
context:
space:
mode:
authorV sujith kumar Reddy <Vsujithkumar.Reddy@amd.com>2022-11-23 17:49:08 +0530
committerMark Brown <broonie@kernel.org>2022-11-28 13:04:20 +0000
commitaae7e412b0ec0378e392b18c50b612dae09cdb74 (patch)
treee68a8cd7843a63131f37aadb7cf02b55f7546c72 /sound/soc/sof/amd/acp-common.c
parentcd8958420d8fd86591a318aff8deb10e00fe9125 (diff)
downloadlinux-aae7e412b0ec0378e392b18c50b612dae09cdb74.tar.gz
linux-aae7e412b0ec0378e392b18c50b612dae09cdb74.tar.bz2
linux-aae7e412b0ec0378e392b18c50b612dae09cdb74.zip
ASoC: SOF: amd: Fix for reading position updates from stream box.
By default the position updates are read from dsp box when streambox size is not defined.if the streambox size is defined to some value then position updates can be read from the streambox. Signed-off-by: V sujith kumar Reddy <Vsujithkumar.Reddy@amd.com> Link: https://lore.kernel.org/r/20221123121911.3446224-2-vsujithkumar.reddy@amd.corp-partner.google.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/amd/acp-common.c')
-rw-r--r--sound/soc/sof/amd/acp-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/amd/acp-common.c b/sound/soc/sof/amd/acp-common.c
index 27b95187356e..150e042e4039 100644
--- a/sound/soc/sof/amd/acp-common.c
+++ b/sound/soc/sof/amd/acp-common.c
@@ -76,6 +76,7 @@ struct snd_sof_dsp_ops sof_acp_common_ops = {
/*IPC */
.send_msg = acp_sof_ipc_send_msg,
.ipc_msg_data = acp_sof_ipc_msg_data,
+ .set_stream_data_offset = acp_set_stream_data_offset,
.get_mailbox_offset = acp_sof_ipc_get_mailbox_offset,
.get_window_offset = acp_sof_ipc_get_window_offset,
.irq_thread = acp_sof_ipc_irq_thread,