diff mbox series

ALSA: hda: intel-dspcfg: use SOF for UpExtreme and UpExtreme11 boards

Message ID 20220616201029.130477-1-pierre-louis.bossart@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series ALSA: hda: intel-dspcfg: use SOF for UpExtreme and UpExtreme11 boards | expand

Commit Message

Pierre-Louis Bossart June 16, 2022, 8:10 p.m. UTC
The UpExtreme BIOS reports microphones that are not physically
present, so this module ends-up selecting SOF, while the UpExtreme11
BIOS does not report microphones so the snd-hda-intel driver is
selected.

For consistency use SOF unconditionally in autodetection mode. The use
of the snd-hda-intel driver can still be enabled with
'options snd-intel-dspcfg dsp_driver=1'

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
---
 sound/hda/intel-dsp-config.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Takashi Iwai June 17, 2022, 8:45 a.m. UTC | #1
On Thu, 16 Jun 2022 22:10:29 +0200,
Pierre-Louis Bossart wrote:
> 
> The UpExtreme BIOS reports microphones that are not physically
> present, so this module ends-up selecting SOF, while the UpExtreme11
> BIOS does not report microphones so the snd-hda-intel driver is
> selected.
> 
> For consistency use SOF unconditionally in autodetection mode. The use
> of the snd-hda-intel driver can still be enabled with
> 'options snd-intel-dspcfg dsp_driver=1'
> 
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>

Thanks, applied now.


Takashi
diff mbox series

Patch

diff --git a/sound/hda/intel-dsp-config.c b/sound/hda/intel-dsp-config.c
index a8fe01764b254..ec9cbb219bc14 100644
--- a/sound/hda/intel-dsp-config.c
+++ b/sound/hda/intel-dsp-config.c
@@ -196,6 +196,12 @@  static const struct config_entry config_table[] = {
 					DMI_MATCH(DMI_SYS_VENDOR, "Google"),
 				}
 			},
+			{
+				.ident = "UP-WHL",
+				.matches = {
+					DMI_MATCH(DMI_SYS_VENDOR, "AAEON"),
+				}
+			},
 			{}
 		}
 	},
@@ -358,6 +364,12 @@  static const struct config_entry config_table[] = {
 					DMI_MATCH(DMI_SYS_VENDOR, "Google"),
 				}
 			},
+			{
+				.ident = "UPX-TGL",
+				.matches = {
+					DMI_MATCH(DMI_SYS_VENDOR, "AAEON"),
+				}
+			},
 			{}
 		}
 	},