Skip to content

Commit 4ad7935

Browse files
kv2019itiwai
authored andcommitted
ALSA: hda: Add AlderLake-M PCI ID
Add HD Audio PCI ID for Intel AlderLake-M. Add rules to snd_intel_dsp_find_config() to choose SOF driver for ADL-M systems with PCH-DMIC or Soundwire codecs, and legacy driver for the rest. Signed-off-by: Kai Vehmanen <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 50dbfae commit 4ad7935

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

sound/hda/intel-dsp-config.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,10 @@ static const struct config_entry config_table[] = {
331331
.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
332332
.device = 0x51c8,
333333
},
334+
{
335+
.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
336+
.device = 0x51cc,
337+
},
334338
#endif
335339

336340
};

sound/pci/hda/hda_intel.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2485,6 +2485,9 @@ static const struct pci_device_id azx_ids[] = {
24852485
/* Alderlake-P */
24862486
{ PCI_DEVICE(0x8086, 0x51c8),
24872487
.driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},
2488+
/* Alderlake-M */
2489+
{ PCI_DEVICE(0x8086, 0x51cc),
2490+
.driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},
24882491
/* Elkhart Lake */
24892492
{ PCI_DEVICE(0x8086, 0x4b55),
24902493
.driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},

0 commit comments

Comments
 (0)