Skip to content

Commit da6d7db

Browse files
bardliaobroonie
authored andcommitted
ASoC: soc-acpi-intel-ptl-match: add empty item to ptl_cs42l43_l3[]
An empty item is required to terminate the look up loop. Fixes: ac5b4a2 ("ASoC: Intel: soc-acpi-intel-ptl-match: Add cs42l43 support") Signed-off-by: Bard Liao <[email protected]> Reviewed-by: Naveen Manohar <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 70ad2e6 commit da6d7db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sound/soc/intel/common/soc-acpi-intel-ptl-match.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,8 @@ static const struct snd_soc_acpi_link_adr ptl_cs42l43_l3[] = {
431431
.mask = BIT(3),
432432
.num_adr = ARRAY_SIZE(cs42l43_3_adr),
433433
.adr_d = cs42l43_3_adr,
434-
}
434+
},
435+
{}
435436
};
436437

437438
static const struct snd_soc_acpi_link_adr ptl_rt722_only[] = {

0 commit comments

Comments
 (0)