[d-kernel] [PATCH 4/6] ASoC: Intel: sof_es8336: add 3Logic Group Graviton N15i DMI info for pa-enable lookup quirk

nickel на altlinux.org nickel на altlinux.org
Вт Авг 2 20:21:38 MSK 2022


From: Vasiliy Kovalev <kovalev at altlinux.org>

Signed-off-by: Vasiliy Kovalev <kovalev at altlinux.org>
Signed-off-by: Nikolai Kostrigin <nickel at altlinux.org>
---
 sound/soc/intel/boards/sof_es8336.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c
index 016bd2d62c449..1278a03a98d24 100644
--- a/sound/soc/intel/boards/sof_es8336.c
+++ b/sound/soc/intel/boards/sof_es8336.c
@@ -242,6 +242,16 @@ static int sof_es8336_quirk_cb(const struct dmi_system_id *id)
 }
 
 static const struct dmi_system_id sof_es8336_quirk_table[] = {
+	{
+		.callback = sof_es8336_quirk_cb,
+		.ident = "pa-enable ACPI deviant",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "3Logic Group"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Graviton N15i"),
+		},
+		.driver_data = (void *)(SOF_ES8336_SSP_CODEC(0) |
+					SOF_ES8336_TGL_GPIO_QUIRK)
+	},
 	{
 		.callback = sof_es8336_quirk_cb,
 		.ident = "pa-enable ACPI deviant",
-- 
2.33.3



Подробная информация о списке рассылки devel-kernel