projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df6380d
)
ASoC: SOF: amd: Enable cont_update_posn variable in pcm hw_params.
author
V sujith kumar Reddy
<Vsujithkumar.Reddy@amd.com>
Wed, 8 Mar 2023 08:45:09 +0000
(14:15 +0530)
committer
Mark Brown
<broonie@kernel.org>
Wed, 8 Mar 2023 15:05:44 +0000
(15:05 +0000)
Enable cont_update_posn variable to update host position
in streambox for every dma copy.
Signed-off-by: V sujith kumar Reddy <Vsujithkumar.Reddy@amd.com>
Link:
https://lore.kernel.org/r/20230308084509.1496256-3-Vsujithkumar.Reddy@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/amd/acp-pcm.c
patch
|
blob
|
history
diff --git
a/sound/soc/sof/amd/acp-pcm.c
b/sound/soc/sof/amd/acp-pcm.c
index f342f0bac4a37335fc0da57f13f2d5ed9a4fe3db..0828245bbb997de398414bf36e0bb5cbcb046314 100644
(file)
--- a/
sound/soc/sof/amd/acp-pcm.c
+++ b/
sound/soc/sof/amd/acp-pcm.c
@@
-39,6
+39,7
@@
int acp_pcm_hw_params(struct snd_sof_dev *sdev, struct snd_pcm_substream *substr
platform_params->use_phy_address = true;
platform_params->phy_addr = stream->reg_offset;
platform_params->stream_tag = stream->stream_tag;
+ platform_params->cont_update_posn = 1;
/* write buffer size of stream in scratch memory */