ALSA: hda: intel-dsp-cfg: add LunarLake support
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 2 Aug 2023 15:01:04 +0000 (10:01 -0500)
committerTakashi Iwai <tiwai@suse.de>
Fri, 4 Aug 2023 10:53:53 +0000 (12:53 +0200)
One more PCI ID for the road.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20230802150105.24604-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/intel-dsp-config.c

index 1abe65f..dcf2453 100644 (file)
@@ -465,6 +465,14 @@ static const struct config_entry config_table[] = {
        },
 #endif
 
+/* Lunar Lake */
+#if IS_ENABLED(CONFIG_SND_SOC_SOF_LUNARLAKE)
+       /* Lunarlake-P */
+       {
+               .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
+               .device = PCI_DEVICE_ID_INTEL_HDA_LNL_P,
+       },
+#endif
 };
 
 static const struct config_entry *snd_intel_dsp_find_config