Files
chromebox_10th_audio_driver/patches/ubuntu-hwe-6.17/0001-ASoC-intel-sof-fix-idisp-hdmi-dpcm-playback.patch
jack c16b8c2b6c Add work handoff doc, Ubuntu HWE build scripts, and repair plan
- docs/WORK_PROGRESS.md: progress, ChromeOS and Ubuntu kernel source URLs/commands
- scripts: ubuntu-hwe-617-build.sh and deps list for kernel packaging
- patches: experimental HDMI note (DO NOT apply on 6.17)
- audio_topology: REPAIR_Plan_Audio.md; README links
- README: links to handoff and build helpers

Made-with: Cursor
2026-04-02 07:22:12 +08:00

35 lines
1.3 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: jack <jack@local>
Date: Tue, 31 Mar 2026 00:00:00 +0000
Subject: [PATCH] DO NOT APPLY: dpcm_playback field removed in 6.17
On Chromebox 10th-gen (Google-Kaisa-rev4) HDMI playback fails on Ubuntu
HWE 6.17 with "STREAM_PCM_PARAMS ipc failed (-5)" while ChromeOS 5.15 works.
This patch was written from a ChromeOS 5.15 reference where `struct snd_soc_dai_link`
still had `dpcm_playback`. Ubuntu HWE 6.17's `struct snd_soc_dai_link` does not have
that field anymore (see `include/sound/soc.h`), so this patch does not compile on 6.17.
This is intended as a minimal, reversible experiment patch for regression
triage.
---
sound/soc/intel/boards/sof_board_helpers.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/intel/boards/sof_board_helpers.c b/sound/soc/intel/boards/sof_board_helpers.c
index 000000000000..000000000000 100644
--- a/sound/soc/intel/boards/sof_board_helpers.c
+++ b/sound/soc/intel/boards/sof_board_helpers.c
@@ -324,7 +324,7 @@ static int set_idisp_hdmi_link(struct device *dev, struct snd_soc_dai_link *link,
link->id = be_id;
link->init = (hdmi_id == 1) ? hdmi_init : NULL;
link->no_pcm = 1;
- link->playback_only = 1;
+ link->dpcm_playback = 1;
return 0;
}
--
2.43.0