thesofproject / linux

Linux kernel source tree
Other
91 stars 134 forks source link

ASoC: Intel: soc-acpi-intel-rpl-match: add missing empty item #5192

Closed bardliao closed 1 month ago

bardliao commented 1 month ago

There is no links_num in struct snd_soc_acpi_mach {}, and we test !link->num_adr as a condition to end the loop in hda_sdw_machine_select(). So an empty item in struct snd_soc_acpi_link_adr array is required.

Fixes: 65ab45b90656 ("ASoC: Intel: soc-acpi: Add match entries for some cs42l43 laptops")

charleskeepax commented 1 month ago

Thanks, Bard, sorry about missing that one.