Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: amd: yc: Add OMEN by HP Gaming Laptop 16z-n000 into DMI table
@ 2023-01-11 15:58 Joseph Hunkeler
  0 siblings, 0 replies; 2+ messages in thread
From: Joseph Hunkeler @ 2023-01-11 15:58 UTC (permalink / raw)
  To: Syed.SabaKareem; +Cc: alsa-devel, tiwai, mario.limonciello

Adding support for the HP Omen 16z-n000 laptop; this enables the internal
microphone.

Signed-off-by: Joseph Hunkeler <jhunkeler@gmail.com>
---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 1f0b5527c594..32b61189d653 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -220,6 +220,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Redmi Book Pro 14 2022"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "OMEN by HP Gaming Laptop 16z-n000"),
+		}
+	},
 	{}
 };
 
-- 
2.39.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [PATCH] ASoC: amd: yc: Add OMEN by HP Gaming Laptop 16z-n000 into DMI table
@ 2023-01-16 17:17 Joseph Hunkeler
  0 siblings, 0 replies; 2+ messages in thread
From: Joseph Hunkeler @ 2023-01-16 17:17 UTC (permalink / raw)
  To: alsa-devel

Adding support for the HP Omen 16z-n000 laptop; this enables the internal
microphone.

Signed-off-by: Joseph Hunkeler <jhunkeler@gmail.com>
---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 1f0b5527c594..32b61189d653 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -220,6 +220,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Redmi Book Pro 14 2022"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "OMEN by HP Gaming Laptop 16z-n000"),
+               }
+       },
        {}
 };
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-16 17:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-11 15:58 [PATCH] ASoC: amd: yc: Add OMEN by HP Gaming Laptop 16z-n000 into DMI table Joseph Hunkeler
  -- strict thread matches above, loose matches on Subject: below --
2023-01-16 17:17 Joseph Hunkeler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox