]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: SOF: ipc4-pcm: Delay reporting is only supported for playback direction
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 9 May 2025 08:59:51 +0000 (11:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:14:01 +0000 (11:14 +0200)
commit2db952eeaf63b7065928dbd23d62b7f8018b26d0
treea748ffbf94b9eb6598c813e67dc2866c5e6e85e0
parent0f13ae1c13a28ed6e84864290a5e5f3e27a89ce6
ASoC: SOF: ipc4-pcm: Delay reporting is only supported for playback direction

commit 98db16f314b3a0d6e5acd94708ea69751436467f upstream.

The firmware does not provide any information for capture streams via the
shared pipeline registers.

To avoid reporting invalid delay value for capture streams to user space
we need to disable it.

Fixes: af74dbd0dbcf ("ASoC: SOF: ipc4-pcm: allocate time info for pcm delay feature")
Cc: stable@vger.kernel.org
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Link: https://patch.msgid.link/20250509085951.15696-1-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