summaryrefslogtreecommitdiff
path: root/sound/soc/sof/ipc4-pcm.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2025-05-22 20:34:24 +0200
committerTakashi Iwai <tiwai@suse.de>2025-05-22 20:34:24 +0200
commitd18bbb7b8a7b21238dd05f7ddb7d90e2a50171bf (patch)
tree9d30b814fd7af00333f6249352fd0f450a040630 /sound/soc/sof/ipc4-pcm.c
parent547c5775a742d9c83891b629b75d1d4c8e88d8c0 (diff)
parent62f134ab190c5fd5c9f68fe638ad8e13bb8a4cb4 (diff)
Merge branch 'for-linus' into for-next
Sync with the pending 6.15 fixes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/sof/ipc4-pcm.c')
-rw-r--r--sound/soc/sof/ipc4-pcm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/sof/ipc4-pcm.c b/sound/soc/sof/ipc4-pcm.c
index 52903503cf3b..8eee3e1aadf9 100644
--- a/sound/soc/sof/ipc4-pcm.c
+++ b/sound/soc/sof/ipc4-pcm.c
@@ -799,7 +799,8 @@ static int sof_ipc4_pcm_setup(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm
spcm->stream[stream].private = stream_priv;
- if (!support_info)
+ /* Delay reporting is only supported on playback */
+ if (!support_info || stream == SNDRV_PCM_STREAM_CAPTURE)
continue;
time_info = kzalloc(sizeof(*time_info), GFP_KERNEL);