[d-kernel] [PATCH] ASoC: Intel: sof_es8336: add Kraftway ACCORD S15T DMI info for pa-enable lookup quirk
nickel на altlinux.org
nickel на altlinux.org
Вт Авг 9 12:11:26 MSK 2022
From: Nikolai Kostrigin <nickel at altlinux.org>
Signed-off-by: Nikolai Kostrigin <nickel at altlinux.org>
Co-developed-by: Vasiliy Kovalev <kovalev at altlinux.org>
Signed-off-by: Vasiliy Kovalev <kovalev 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 2d322db00d76f..d2a8309c3d520 100644
--- a/sound/soc/intel/boards/sof_es8336.c
+++ b/sound/soc/intel/boards/sof_es8336.c
@@ -318,6 +318,16 @@ static const struct dmi_system_id sof_es8336_quirk_table[] = {
SOF_ES8336_TGL_GPIO_QUIRK |
SOF_ES8336_ENABLE_DMIC)
},
+ {
+ .callback = sof_es8336_quirk_cb,
+ .matches = {
+ /* market name: Kraftway ACCORD S15T */
+ DMI_MATCH(DMI_SYS_VENDOR, "Kraftway"),
+ DMI_MATCH(DMI_BOARD_NAME, "S15T"),
+ },
+ .driver_data = (void *)(SOF_ES8336_SSP_CODEC(0) |
+ SOF_ES8336_JD_INVERTED)
+ },
{
.callback = sof_es8336_quirk_cb,
.ident = "pa-enable ACPI deviant",
--
2.33.4
Подробная информация о списке рассылки devel-kernel