Skip to content

Commit

Permalink
Sound: HDA: Intel: Enable SOF for Framework Laptop
Browse files Browse the repository at this point in the history
SOF is not selected by default without DMIC. With this patch
there is no more need to enable SOF with
"options snd_intel_dspcfg dsp_driver=3" in /etc/modprobe.d.

Signed-off-by: Peter Ujfalusi <[email protected]>
Signed-off-by: Seppo Ingalsuo <[email protected]>
  • Loading branch information
singalsu committed Sep 30, 2024
1 parent 49e31db commit 18eabeb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions sound/hda/intel-dsp-config.c
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,20 @@ 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 []) {
{
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Framework"),
DMI_MATCH(DMI_PRODUCT_FAMILY, "Laptop"),
DMI_MATCH(DMI_PRODUCT_NAME, "Laptop 13 (Intel Core Ultra Series 1)"),
}
},
{}
}
},
{
.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
.device = PCI_DEVICE_ID_INTEL_HDA_MTL,
Expand Down

0 comments on commit 18eabeb

Please sign in to comment.