]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ALSA: hda: intel-dsp-config: Select SOF driver on MTL Chromebooks
authorBrady Norander <bradynorander@gmail.com>
Thu, 21 Aug 2025 01:47:30 +0000 (21:47 -0400)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Aug 2025 16:20:19 +0000 (18:20 +0200)
The SOF driver is required for functional audio on MTL Chromebooks

Signed-off-by: Brady Norander <bradynorander@gmail.com>
Link: https://patch.msgid.link/20250821014730.8843-1-bradynorander@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/core/intel-dsp-config.c

index 3cb1e7fc3b3b006945328a59afef4cbce4ee8d70..00f184917623d6ee6d9d54a819d9c64afcb6b6c1 100644 (file)
@@ -167,9 +167,9 @@ static const struct config_entry config_table[] = {
 
 /*
  * CoffeeLake, CannonLake, CometLake, IceLake, TigerLake, AlderLake,
- * RaptorLake use legacy HDAudio driver except for Google Chromebooks
- * and when DMICs are present. Two cases are required since Coreboot
- * does not expose NHLT tables.
+ * RaptorLake, MeteorLake use legacy HDAudio driver except for Google
+ * Chromebooks and when DMICs are present. Two cases are required since
+ * Coreboot does not expose NHLT tables.
  *
  * When the Chromebook quirk is not present, it's based on information
  * that no such device exists. When the quirk is present, it could be
@@ -516,6 +516,19 @@ static const struct config_entry config_table[] = {
 /* Meteor Lake */
 #if IS_ENABLED(CONFIG_SND_SOC_SOF_METEORLAKE)
        /* Meteorlake-P */
+       {
+               .flags = FLAG_SOF,
+               .device = PCI_DEVICE_ID_INTEL_HDA_MTL,
+               .dmi_table = (const struct dmi_system_id []) {
+                       {
+                               .ident = "Google Chromebooks",
+                               .matches = {
+                                       DMI_MATCH(DMI_SYS_VENDOR, "Google"),
+                               }
+                       },
+                       {}
+               }
+       },
        {
                .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
                .device = PCI_DEVICE_ID_INTEL_HDA_MTL,