ASoC: SOF: ipc4-pcm: allocate time info for pcm delay feature
authorRander Wang <rander.wang@intel.com>
Thu, 2 Feb 2023 13:29:49 +0000 (15:29 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 3 Feb 2023 12:03:50 +0000 (12:03 +0000)
commitaf74dbd0dbcf49e8a3ae3e766683e13ecaf71e3b
treede4ba46d6d69f2831305f94bcb83d30f6db933e9
parent65a8ef494aff8bceac9a952ae8f6a1681231aee5
ASoC: SOF: ipc4-pcm: allocate time info for pcm delay feature

Allocate time info when pcm is loaded by topology
and free it when pcm is unloaded by topology.

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-5-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4-pcm.c