diff options
author | 2025-02-26 12:26:10 +0100 | |
---|---|---|
committer | 2025-03-03 12:51:42 +0000 | |
commit | 7f15da9a55d3ba9f8c3af545246a4588102a38db (patch) | |
tree | 0c491f93fa046b36bd8951b4f203453ea847eae5 | |
parent | ASoC: codecs: rt5682: Fix definition of device_id tables (diff) | |
download | wireguard-linux-7f15da9a55d3ba9f8c3af545246a4588102a38db.tar.xz wireguard-linux-7f15da9a55d3ba9f8c3af545246a4588102a38db.zip |
ASoC: codecs: rt286: Update definition of device_id tables
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>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250226112612.166989-21-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | sound/soc/codecs/rt286.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt286.c b/sound/soc/codecs/rt286.c index d0f533120c33..5ad1b9311d11 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 |