thesofproject / linux

Linux kernel source tree
Other
91 stars 134 forks source link

ASoC: sdca: test adev before calling acpi_dev_for_each_child #5238

Closed bardliao closed 1 week ago

bardliao commented 1 week ago

sdca_lookup_functions may be called by a Peripheral that is not listed in the ACPI table. Testing adev is required to avoid kernel NULL pointer dereference.