diff mbox series

Subject: [PATCH v4] ASoC: amd: Add Dell G15 5525 to quirks

Message ID 31D1DA75-51AE-4868-B959-F0BB53DBA658@getmailspring.com
State New
Headers show
Series Subject: [PATCH v4] ASoC: amd: Add Dell G15 5525 to quirks | expand

Commit Message

Cem Kaya April 10, 2023, 6:21 p.m. UTC
From 20fa2a4fbb58eb775c0d4865c3cfcecd6a94ef18 Mon Sep 17 00:00:00 2001
From: Cem Kaya <cemkaya.boun@gmail.com>
Date: Mon, 10 Apr 2023 19:43:56 +0200
Subject: [PATCH v4] ASoC: amd: Add Dell G15 5525 to quirks list

Add Dell G15 5525 Ryzen Edition to quirks list for acp6x so that
internal mic works.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=217155
Cc: <stable@vger.kernel.org>
Signed-off-by: Cem Kaya <cemkaya.boun@gmail.com>
---
sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
1 file changed, 7 insertions(+)

--
2.40.0
diff mbox series

Patch

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index a428e17f0325..e044d811496e 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -45,6 +45,13 @@  static struct snd_soc_card acp6x_card = {
};

static const struct dmi_system_id yc_acp_quirk_table[] = {
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5525"),
+ }
+ },
{
.driver_data = &acp6x_card,
.matches = {