[PATCH 1/1][SRU][OEM-5.14] UBUNTU: SAUCE: ASoC: rt715:add micmute led control for Dell XPS 9315
Chris Chiu
chris.chiu at canonical.com
Tue Mar 22 05:06:13 UTC 2022
BugLink: https://bugs.launchpad.net/bugs/1965846
Dell XPS 9315 needs Dell's DMI based quirk to trigger the dell-privacy
micmute led control.
Signed-off-by: Chris Chiu <chris.chiu at canonical.com>
---
sound/soc/codecs/rt715-sdca.c | 7 +++++++
sound/soc/codecs/rt715.c | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/sound/soc/codecs/rt715-sdca.c b/sound/soc/codecs/rt715-sdca.c
index a61e9d52ca4c..9181ed29ba84 100644
--- a/sound/soc/codecs/rt715-sdca.c
+++ b/sound/soc/codecs/rt715-sdca.c
@@ -369,6 +369,13 @@ static const struct dmi_system_id micmute_led_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_SKU, "0A3E"),
},
},
+ {
+ .callback = dmi_matched,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_SKU, "0B14"),
+ },
+ },
{},
};
diff --git a/sound/soc/codecs/rt715.c b/sound/soc/codecs/rt715.c
index 4dbd870009b8..4962347ba4a4 100644
--- a/sound/soc/codecs/rt715.c
+++ b/sound/soc/codecs/rt715.c
@@ -95,6 +95,13 @@ static const struct dmi_system_id micmute_led_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_SKU, "0A3E"),
},
},
+ {
+ .callback = dmi_matched,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_SKU, "0B14"),
+ },
+ },
{},
};
--
2.25.1
More information about the kernel-team
mailing list