]> www.infradead.org Git - users/hch/dma-mapping.git/commit
ASoC: Intel: soc-acpi: Fix missing empty terminators
authorMark Brown <broonie@kernel.org>
Tue, 1 Oct 2024 17:54:52 +0000 (18:54 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2024 17:54:52 +0000 (18:54 +0100)
commitaafbb9af7c370f3fe62f595842d7a0b798224adb
tree03ec551773eb4a3ec69370645b6514629792d4e3
parent72455e33173c1a00c0ce93d2b0198eb45d5f4195
parentcccb586f513cd999b9dade82e5a25b711d90a76f
ASoC: Intel: soc-acpi: Fix missing empty terminators

Merge series from Bard Liao <yung-chuan.liao@linux.intel.com>:

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.