mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-23 10:32:54 +00:00
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
From 81dc2895f43053e11a5f751dda7779c7f11ed3bd Mon Sep 17 00:00:00 2001
|
|
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
|
Date: Fri, 24 Dec 2021 14:09:50 +0100
|
|
Subject: [PATCH 403/424] ASoC: Intel: sof_es8336: add quirk for Huawei D15
|
|
2021
|
|
|
|
Huawei D15 uses SSP_CODEC(0).
|
|
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
|
Link: https://lore.kernel.org/r/d560a1c76edb633c37acf04a9a82518b6233a719.1640351150.git.mchehab@kernel.org
|
|
Signed-off-by: Mark Brown <broonie@kernel.org>
|
|
---
|
|
sound/soc/intel/boards/sof_es8336.c | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c
|
|
index 20d577eaa..e6d599f0c 100644
|
|
--- a/sound/soc/intel/boards/sof_es8336.c
|
|
+++ b/sound/soc/intel/boards/sof_es8336.c
|
|
@@ -247,6 +247,14 @@ 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 = {
|
|
+ DMI_MATCH(DMI_SYS_VENDOR, "HUAWEI"),
|
|
+ DMI_MATCH(DMI_BOARD_NAME, "BOHB-WAX9-PCB-B2"),
|
|
+ },
|
|
+ .driver_data = (void *)SOF_ES8336_SSP_CODEC(0)
|
|
+ },
|
|
{}
|
|
};
|
|
|
|
--
|
|
2.35.2
|
|
|