]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: SOF: sof-pcm: Add pointer callback to sof_ipc_pcm_ops
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 21 Mar 2024 13:08:11 +0000 (15:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:38:18 +0000 (16:38 +0200)
commit51c5dec29f973b6a28b9bbbd4cb322aad9be59bf
tree01238515b232830afdb2947b53f8a31c4ab3a823
parent34c196db81822e68bcd8e3de36771aad8c8caa99
ASoC: SOF: sof-pcm: Add pointer callback to sof_ipc_pcm_ops

commit 77165bd955d55114028b06787a530b8f9220e4b0 upstream.

The IPC specific pointer callback can be used when additional or custom
handling is needed during the pointer calculation, like executing a delay
calculation at the same time to minimize drift between the reported pointer
and the calculated delay.

Cc: stable@vger.kernel.org # 6.8
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://msgid.link/r/20240321130814.4412-15-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/sof/pcm.c
sound/soc/sof/sof-audio.h