Commit dc88b771 authored by Brady Norander's avatar Brady Norander Committed by Takashi Iwai
Browse files

ALSA: hda: intel-dsp-config: Select SOF driver on MTL Chromebooks



The SOF driver is required for functional audio on MTL Chromebooks

Signed-off-by: default avatarBrady Norander <bradynorander@gmail.com>
Link: https://patch.msgid.link/20250821014730.8843-1-bradynorander@gmail.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 9c618284
Loading
Loading
Loading
Loading
+16 −3
Original line number Diff line number Diff line
@@ -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,