]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMark Brown <broonie@kernel.org>
Fri, 9 May 2025 09:20:13 +0000 (18:20 +0900)
commit98db16f314b3a0d6e5acd94708ea69751436467f
treeec6f99437cd25674acc543aac6e3d92231140f4f
parent4d14b1069e9e672dbe1adab52594076da6f4a62d
ASoC: SOF: ipc4-pcm: Delay reporting is only supported for playback direction

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>
sound/soc/sof/ipc4-pcm.c