ASoC: soc-acpi-intel-ptl-match: add empty item to ptl_cs42l43_l3[]
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 23 Apr 2025 05:57:22 +0000 (13:57 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 23 Apr 2025 15:54:44 +0000 (16:54 +0100)
An empty item is required to terminate the look up loop.

Fixes: ac5b4a24f16f ("ASoC: Intel: soc-acpi-intel-ptl-match: Add cs42l43 support")

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Naveen Manohar <naveen.m@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://patch.msgid.link/20250423055722.6920-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/soc-acpi-intel-ptl-match.c

index 6603d8de501ca5a02b5148b56aa4a83a7b4ed0ac..c599eb43eeb1100dabd2e095bb8610e74485e5d2 100644 (file)
@@ -431,7 +431,8 @@ static const struct snd_soc_acpi_link_adr ptl_cs42l43_l3[] = {
                .mask = BIT(3),
                .num_adr = ARRAY_SIZE(cs42l43_3_adr),
                .adr_d = cs42l43_3_adr,
-       }
+       },
+       {}
 };
 
 static const struct snd_soc_acpi_link_adr ptl_rt722_only[] = {