diff options
author | YC Hung <yc.hung@mediatek.com> | 2022-07-25 14:53:42 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-07-25 22:37:01 +0100 |
commit | d95610a1832993c539be22f0ec3ea8e34a29acff (patch) | |
tree | 97ecc1850fcba3ecc4bf662dbc720e9a9f1ede9a /sound/soc/sof/ipc3-pcm.c | |
parent | e51699505042fb365df3a0ce68b850ccd9ad0108 (diff) | |
download | linux-d95610a1832993c539be22f0ec3ea8e34a29acff.tar.gz linux-d95610a1832993c539be22f0ec3ea8e34a29acff.tar.bz2 linux-d95610a1832993c539be22f0ec3ea8e34a29acff.zip |
ASoC: SOF: Add cont_update_posn to platform parameters
Add cont_update_posn to platform parameters to support
continue update position for platform.
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Chao Song <chao.song@intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: YC Hung <yc.hung@mediatek.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220725195343.145603-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/ipc3-pcm.c')
-rw-r--r-- | sound/soc/sof/ipc3-pcm.c | 3 |
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 */ |