diff mbox series

[21/24] ASoC: codecs: rt286: Update definition of device_id tables

Message ID 20250220112643.3813295-22-cezary.rojewski@intel.com (mailing list archive)
State New
Headers show
Series ASoC: codecs: Update device_id tables for Realtek drivers | expand

Commit Message

Cezary Rojewski Feb. 20, 2025, 11:26 a.m. UTC
Follow PCI-based format (10ECxxxx) for ACPI IDs by adding relevant
entries to the existing table.

While at it, there shall be no comma after the terminator entry and
initializing fields with 0 for statically defined structs is redundant.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
---
 sound/soc/codecs/rt286.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/sound/soc/codecs/rt286.c b/sound/soc/codecs/rt286.c
index d0f533120c33..c187e580c0ca 100644
--- a/sound/soc/codecs/rt286.c
+++ b/sound/soc/codecs/rt286.c
@@ -1083,8 +1083,9 @@  MODULE_DEVICE_TABLE(i2c, rt286_i2c_id);
 
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id rt286_acpi_match[] = {
-	{ "INT343A", 0 },
-	{},
+	{ "10EC0286" },
+	{ "INT343A" },
+	{}
 };
 MODULE_DEVICE_TABLE(acpi, rt286_acpi_match);
 #endif