linux/sound/soc/sof
Peter Ujfalusi b5bada85c1 ASoC: SOF: ipc4-pcm: Delay reporting is only supported for playback direction
commit 98db16f314 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: af74dbd0db ("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>
History 2025-06-04 14:42:19 +02:00
..
amd ASoC: SOF: amd: Handle IPC replies before FW_BOOT_COMPLETE 2025-03-22 12:50:43 -07:00
imx ASoC: SOF: imx8m: Fix DSP control regmap retrieval 2024-08-03 08:54:39 +02:00
intel ASoC: SOF: Intel: hda: add softdep pre to snd-hda-codec-hdmi module 2025-03-22 12:50:43 -07:00
mediatek ASoC: SOF: mediatek: Add missing board compatible 2024-09-30 16:25:07 +02:00
xtensa ASoC: SOF: dsp_arch_ops: add kernel log level parameter for oops and stack 2021-12-23 13:38:25 +00:00
compress.c ASoC: SOF: Use no_reply calls for TX 2023-04-20 12:51:45 +01:00
control.c ASoC: SOF: control: Extend the optionality of IPC ops to IPC as well 2022-12-25 23:32:33 +00:00
core.c ASoC: SOF: core: Ensure sof_ops_free() is still called when probe never ran. 2023-11-20 11:59:21 +01:00
debug.c ASoC: SOF: debug: conditionally bump runtime_pm counter on exceptions 2023-05-15 10:20:57 +09:00
iomem-utils.c ASoC: SOF: Split up utils.c into sof-utils and iomem-utils 2022-02-10 15:19:04 +00:00
ipc.c ASoC: SOF: client: Add sof_client_ipc_set_get_data() 2022-10-31 13:20:20 +00:00
ipc3-control.c ASoC: sof: Improve sof_ipc3_bytes_ext_put function 2023-05-23 19:31:14 +01:00
ipc3-dtrace.c ASoC: SOF: ipc3-dtrace: Switch to memdup_user_nul() helper 2023-08-07 19:56:07 +01:00
ipc3-loader.c ASoC: SOF: Add some bounds checking to firmware data 2024-03-26 18:19:48 -04:00
ipc3-pcm.c ASoC: SOF: pcm: Restrict DSP D0i3 during S0ix to IPC3 2024-06-12 11:11:25 +02:00
ipc3-priv.h ASoC: SOF: Refactor rx function for fuzzing 2023-06-09 10:44:39 +01:00
ipc3-topology.c ASoC: SOF: ipc3-topology: fix resource leaks in sof_ipc3_widget_setup_comp_dai() 2024-12-14 19:59:49 +01:00
ipc3.c ASoC: SOF: IPC3: fix message bounds on ipc ops 2024-02-23 09:25:14 +01:00
ipc4-control.c ASoC: SOF: ipc4-control: Use SOF_CTRL_CMD_BINARY as numid for bytes_ext 2025-06-04 14:42:19 +02:00
ipc4-fw-reg.h ASoC: SOF: add ipc4_fw_reg header file 2023-02-03 12:03:48 +00:00
ipc4-loader.c ASoC: SOF: ipc4-loader: remove the CPC check warnings 2024-01-25 15:35:58 -08:00
ipc4-mtrace.c ASoC: SOF: ipc4-mtrace: process pending logs upon FW crash 2023-03-07 13:58:20 +00:00
ipc4-pcm.c ASoC: SOF: ipc4-pcm: Delay reporting is only supported for playback direction 2025-06-04 14:42:19 +02:00
ipc4-priv.h ASoC: SOF: ipc4-loader/topology: Query the CPC value from manifest 2023-05-22 11:18:38 +01:00
ipc4-topology.c ASoC: SOF: ipc4-control: Add support for ALSA enum control 2024-11-08 16:28:27 +01:00
ipc4-topology.h ASoC: SOF: ipc4-topology: Add definition for generic switch/enum control 2024-11-08 16:28:27 +01:00
ipc4.c ASoC: SOF: ipc4: check return value of snd_sof_ipc_msg_data 2024-08-29 17:33:31 +02:00
Kconfig ASoC: SOF: Add IPC3 Kernel Injector 2023-06-09 10:44:40 +01:00
loader.c ASoC: SOF: loader: Remove log prefixes for snd_sof_run_firmware 2023-03-07 13:58:16 +00:00
Makefile ASoC: SOF: Add IPC3 Kernel Injector 2023-06-09 10:44:40 +01:00
nocodec.c ASoC: sof: use asoc_dummy_dlc 2023-05-08 08:47:07 +09:00
ops.c ASoC: SOF: Switch to IPC generic firmware tracing 2022-05-19 16:44:15 +01:00
ops.h Merge branch 'for-linus' into for-next 2023-02-16 15:06:18 +01:00
pcm.c ASoC: SOF: pcm: Clear the susbstream pointer to NULL on close 2025-02-27 04:10:52 -08:00
pm.c ASoC: SOF: pm: Remove duplicated code in sof_suspend 2023-06-16 12:53:53 +01:00
sof-acpi-dev.c ASoC: SOF: add IPC-dependent file names 2022-04-19 12:03:34 +01:00
sof-acpi-dev.h ASoC: SOF: ACPI: avoid reverse module dependency 2021-03-02 15:31:40 +01:00
sof-audio.c ASoC: SOF: sof-audio: Skip unprepare for in-use widgets on error rollback 2024-07-25 09:50:50 +02:00
sof-audio.h ASoC: SOF: pcm: Restrict DSP D0i3 during S0ix to IPC3 2024-06-12 11:11:25 +02:00
sof-client-ipc-flood-test.c ASoC: SOF: Use no_reply calls for TX 2023-04-20 12:51:45 +01:00
sof-client-ipc-kernel-injector.c ASoC: SOF: Add IPC3 Kernel Injector 2023-06-09 10:44:40 +01:00
sof-client-ipc-msg-injector.c ASoC: SOF: ipc-msg-injector: fix copy in sof_msg_inject_ipc4_dfs_write() 2022-07-14 13:26:37 +01:00
sof-client-probes-ipc3.c ASoC: SOF: Use no_reply calls for TX 2023-04-20 12:51:45 +01:00
sof-client-probes-ipc4.c ASoC: SOF: sof-client-probes-ipc4: Set param_size extension bits 2024-11-14 13:19:34 +01:00
sof-client-probes.c ASoC: sof: merge DAI call back functions into ops 2023-08-14 13:10:09 +01:00
sof-client-probes.h ASoC: SOF: IPC4: probes: Implement IPC4 ops for probes client device 2022-10-31 13:20:22 +00:00
sof-client.c ASoC: SOF: Add IPC3 Kernel Injector 2023-06-09 10:44:40 +01:00
sof-client.h ASoC: SOF: Add IPC3 Kernel Injector 2023-06-09 10:44:40 +01:00
sof-of-dev.c ASoC: SOF: add IPC-dependent file names 2022-04-19 12:03:34 +01:00
sof-of-dev.h ASoC: SOF: Introduce function sof_of_machine_select 2022-08-23 18:22:29 +01:00
sof-pci-dev.c ASoC: SOF: Pass PCI SSID to machine driver 2023-11-28 17:19:42 +00:00
sof-pci-dev.h ASoC: SOF: pci: split PCI into different drivers 2021-03-02 15:32:00 +01:00
sof-priv.h ASoC: SOF: Add new sof_debug flag to request message payload dump 2023-06-16 12:53:50 +01:00
sof-utils.c ASoC: SOF: remove unneeded dev_vdbg 2022-09-19 15:44:06 +01:00
sof-utils.h ASoC: SOF: Split up utils.c into sof-utils and iomem-utils 2022-02-10 15:19:04 +00:00
stream-ipc.c ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data() 2025-02-27 04:10:52 -08:00
topology.c ASoc: SOF: topology: connect DAI to a single DAI link 2025-06-04 14:42:19 +02:00
trace.c ASoC: SOF: trace: No need to check for op pointer in sof_fw_trace_free() 2022-12-25 23:32:39 +00:00