Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

YC Hung and committed by
Mark Brown
d95610a1 e5169950

+4
+3
sound/soc/sof/ipc3-pcm.c
··· 115 115 pcm.params.no_stream_position = 1; 116 116 } 117 117 118 + if (platform_params->cont_update_posn) 119 + pcm.params.cont_update_posn = 1; 120 + 118 121 dev_dbg(component->dev, "stream_tag %d", pcm.params.stream_tag); 119 122 120 123 /* send hw_params IPC to the DSP */
+1
sound/soc/sof/sof-priv.h
··· 126 126 bool use_phy_address; 127 127 u32 phy_addr; 128 128 bool no_ipc_position; 129 + bool cont_update_posn; 129 130 }; 130 131 131 132 /*