]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: SOF: ipc4-pcm: Invalidate the stream_start_offset in PAUSED state
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 21 Mar 2024 13:08:10 +0000 (15:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:38:18 +0000 (16:38 +0200)
commit34c196db81822e68bcd8e3de36771aad8c8caa99
treec52bde19e44ff3c847b66db50762744758a6d9d1
parente2edcd51d4a1fede6fa055ed6683d8746f66557d
ASoC: SOF: ipc4-pcm: Invalidate the stream_start_offset in PAUSED state

commit 3ce3bc36d91510389955b47e36ea4c4e94fcbdd3 upstream.

When the final state is SOF_IPC4_PIPE_PAUSED, it is possible that the
stream will be restarted (resume or start) in which case we need to update
the offset from the firmware.

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-14-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/ipc4-pcm.c