[d-kernel] [PATCH 5/6] ASoC: Intel: sof_es8336: simplify pa_enable quirk trigger code
nickel на altlinux.org
nickel на altlinux.org
Вт Авг 2 20:21:39 MSK 2022
From: Nikolai Kostrigin <nickel at altlinux.org>
Remove remained part of debug code introduced in commit 3f3aa384ef9.
Signed-off-by: Nikolai Kostrigin <nickel at altlinux.org>
---
sound/soc/intel/boards/sof_es8336.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c
index 1278a03a98d24..2004e54514b88 100644
--- a/sound/soc/intel/boards/sof_es8336.c
+++ b/sound/soc/intel/boards/sof_es8336.c
@@ -233,10 +233,8 @@ static int sof_es8336_quirk_cb(const struct dmi_system_id *id)
if (quirk & SOF_ES8336_TGL_GPIO_QUIRK)
gpio_mapping = quirk_acpi_es8336_gpios;
- if (id->ident != NULL && strcmp(id->ident, "pa-enable ACPI deviant") == 0) {
- if (quirk_pa_enable < 0) quirk_pa_enable = 1;
- else quirk_pa_enable++;
- }
+ if (id->ident != NULL && strcmp(id->ident, "pa-enable ACPI deviant") == 0)
+ quirk_pa_enable = 1;
return 1;
}
--
2.33.3
Подробная информация о списке рассылки devel-kernel