Skip to content

Commit 845ad50

Browse files
committed
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 <yung-chuan.liao@linux.intel.com>
1 parent 692f808 commit 845ad50

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
@@ -444,7 +444,8 @@ static const struct snd_soc_acpi_link_adr ptl_cs42l43_l3[] = {
444444
.mask = BIT(3),
445445
.num_adr = ARRAY_SIZE(cs42l43_3_adr),
446446
.adr_d = cs42l43_3_adr,
447-
}
447+
},
448+
{}
448449
};
449450

450451
static const struct snd_soc_acpi_link_adr ptl_rt722_only[] = {

0 commit comments

Comments
 (0)