ASoC: SOF: add time info structure for ipc4 path
authorRander Wang <rander.wang@intel.com>
Thu, 2 Feb 2023 13:29:48 +0000 (15:29 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 3 Feb 2023 12:03:49 +0000 (12:03 +0000)
commit65a8ef494aff8bceac9a952ae8f6a1681231aee5
treefaf97111ca52bff8b6b5bb9a043ab28fef6aa2c9
parent4700bfb2bb3acae63ff4cbf82fbde35a325ebdf2
ASoC: SOF: add time info structure for ipc4 path

Start_stream_offset is used to strip invalid sample count in dai
for some cases like dai is started before host. llp_offset is used
to get current dai position from memory windows.

Signed-off-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230202132954.26773-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4-priv.h
sound/soc/sof/sof-audio.h