mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Antti Jalomäki" <antti@nevaberry.com>
To: linux-sound@vger.kernel.org
Cc: tiwai@suse.com, perex@perex.cz, linux-kernel@vger.kernel.org,
	antti@nevaberry.com
Subject: [PATCH] ALSA: hda: intel-dsp-config: Force legacy HDA on Lenovo ThinkPad X1 Yoga Gen 5
Date: Sat,  4 Apr 2026 17:47:43 +0300	[thread overview]
Message-ID: <20260404144743.46466-1-antti@nevaberry.com> (raw)

The SOF driver fails to initialize on the Lenovo ThinkPad X1 Yoga Gen 5
with Intel Comet Lake PCH-LP cAVS [8086:02c8]. Add a DMI quirk to force
legacy HDA driver selection for this device.

Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120554
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2455066
Signed-off-by: Antti Jalomäki <antti@nevaberry.com>
---
 sound/hda/core/intel-dsp-config.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/sound/hda/core/intel-dsp-config.c b/sound/hda/core/intel-dsp-config.c
index f0a44fd11..179fe4d59 100644
--- a/sound/hda/core/intel-dsp-config.c
+++ b/sound/hda/core/intel-dsp-config.c
@@ -269,6 +269,21 @@ static const struct config_entry config_table[] = {
 		.device = PCI_DEVICE_ID_INTEL_HDA_CML_LP,
 		.codec_hid =  &essx_83x6,
 	},
+	{
+		.flags = 0,
+		.device = PCI_DEVICE_ID_INTEL_HDA_CML_LP,
+		.dmi_table = (const struct dmi_system_id []) {
+			{
+				.ident = "Lenovo ThinkPad X1 Yoga Gen 5",
+				.matches = {
+					DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+					DMI_MATCH(DMI_PRODUCT_FAMILY,
+						  "ThinkPad X1 Yoga Gen 5"),
+				},
+			},
+			{}
+		}
+	},
 	{
 		.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
 		.device = PCI_DEVICE_ID_INTEL_HDA_CML_LP,

base-commit: 9f2a23bd5d30dc0968e56a2b6e5edb58aff1bc6d
-- 
2.53.0


             reply	other threads:[~2026-04-04 14:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-04 14:47 Antti Jalomäki [this message]
2026-04-04 15:21 ` Takashi Iwai
2026-04-04 15:46   ` Antti Jalomäki
2026-04-04 15:52     ` Takashi Iwai
2026-04-07  8:59       ` Kai Vehmanen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260404144743.46466-1-antti@nevaberry.com \
    --to=antti@nevaberry.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®