OSDN Git Service

ASoC: es8316: add support for ESSX8336 ACPI _HID
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 29 Oct 2021 01:11:09 +0000 (09:11 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 29 Oct 2021 11:36:04 +0000 (12:36 +0100)
The same codec seems to have different personalities. ESSX8316 was
used for Baytrail/CherryTrail, ESSX8336 seems to be used for AppoloLake,
GeminiLake, JasperLake and TigerLake devices.

BugLink: https://github.com/thesofproject/linux/issues/2955
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>-e
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20211029011109.23633-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8316.c

index 5fb0263..8f30a3e 100644 (file)
@@ -840,6 +840,7 @@ MODULE_DEVICE_TABLE(of, es8316_of_match);
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id es8316_acpi_match[] = {
        {"ESSX8316", 0},
+       {"ESSX8336", 0},
        {},
 };
 MODULE_DEVICE_TABLE(acpi, es8316_acpi_match);