summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrajna Sariputra <putr4.s@gmail.com>2023-04-02 02:21:30 +1100
committerMark Brown <broonie@kernel.org>2023-04-03 12:15:29 +0100
commitee4281de4d60288b9c802bb0906061ec355ecef2 (patch)
treea86a9dfe64600e78a8f964635d19bb81ff35f79b
parent7a3f924cee4bdfe85eda4e636213e79d3fda6182 (diff)
downloadlinux-stable-ee4281de4d60288b9c802bb0906061ec355ecef2.tar.gz
linux-stable-ee4281de4d60288b9c802bb0906061ec355ecef2.tar.bz2
linux-stable-ee4281de4d60288b9c802bb0906061ec355ecef2.zip
ASoC: amd: yc: Add DMI entries to support HP OMEN 16-n0xxx (8A42)
This model requires an additional detection quirk to enable the internal microphone. Signed-off-by: Prajna Sariputra <putr4.s@gmail.com> Link: https://lore.kernel.org/r/2283110.ElGaqSPkdT@n0067ax-linux62 Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/amd/yc/acp6x-mach.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 0acdf0156f07..a428e17f0325 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -266,6 +266,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
.driver_data = &acp6x_card,
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+ DMI_MATCH(DMI_BOARD_NAME, "8A42"),
+ }
+ },
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
DMI_MATCH(DMI_BOARD_NAME, "8A43"),
}
},