ASoC: rt1015p: add new acpi id and comapatible id
authorJack Yu <jack.yu@realtek.com>
Mon, 9 Aug 2021 10:27:05 +0000 (10:27 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 9 Aug 2021 15:23:45 +0000 (16:23 +0100)
Add new acpi id and compatible id for rt1015p.

Signed-off-by: Jack Yu <jack.yu@realtek.com>
Link: https://lore.kernel.org/r/22be83429956486f9f64b424c26be810@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1015p.c

index 40f2063aefbe10b388fae59ae48200f19f7d3f5b..415cfb3b2f0d068b792789ce166fb0fbfe6db09c 100644 (file)
@@ -127,6 +127,7 @@ static int rt1015p_platform_probe(struct platform_device *pdev)
 #ifdef CONFIG_OF
 static const struct of_device_id rt1015p_device_id[] = {
        { .compatible = "realtek,rt1015p" },
+       { .compatible = "realtek,rt1019p" },
        {}
 };
 MODULE_DEVICE_TABLE(of, rt1015p_device_id);
@@ -135,6 +136,7 @@ MODULE_DEVICE_TABLE(of, rt1015p_device_id);
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id rt1015p_acpi_match[] = {
        { "RTL1015", 0},
+       { "RTL1019", 0},
        { },
 };
 MODULE_DEVICE_TABLE(acpi, rt1015p_acpi_match);