summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/ipc3-pcm.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-08-01 15:26:40 +0200
committerTakashi Iwai <tiwai@suse.de>2022-08-01 15:26:40 +0200
commita3b5d4715fd5a839857f8b7be78dff258a8d5a47 (patch)
treeb70d6f050f4831eaba82a60fb443659dc9dfca1c /sound/soc/sof/ipc3-pcm.c
parentMerge branch 'for-next' into for-linus (diff)
parentASoC: q6asm: use kcalloc() instead of kzalloc() (diff)
downloadlinux-a3b5d4715fd5a839857f8b7be78dff258a8d5a47.tar.xz
linux-a3b5d4715fd5a839857f8b7be78dff258a8d5a47.zip
Merge tag 'asoc-v5.20-2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: More updates for v5.20 More updates that came in since the last pull request I sent, a series of driver specific changes: - Support for AMD RPL, some Intel platforms and Mediatek MT8186.
Diffstat (limited to 'sound/soc/sof/ipc3-pcm.c')
-rw-r--r--sound/soc/sof/ipc3-pcm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/sof/ipc3-pcm.c b/sound/soc/sof/ipc3-pcm.c
index b97e63d3724a..9c6a84bdeca7 100644
--- a/sound/soc/sof/ipc3-pcm.c
+++ b/sound/soc/sof/ipc3-pcm.c
@@ -115,6 +115,9 @@ static int sof_ipc3_pcm_hw_params(struct snd_soc_component *component,
pcm.params.no_stream_position = 1;
}
+ if (platform_params->cont_update_posn)
+ pcm.params.cont_update_posn = 1;
+
dev_dbg(component->dev, "stream_tag %d", pcm.params.stream_tag);
/* send hw_params IPC to the DSP */