On Fri, Mar 08, 2024 at 08:32:38AM +0100, Cezary Rojewski wrote: > The table is composed of a range of endpoints with each describing > audio formats they support. Most of the operations involve iterating > over elements of the table and filtering them. Simplify the process by > implementing range of getters. > > While the acpi_nhlt_endpoint_mic_count() stands out a bit, it is a > critical component for any AudioDSP driver to know how many digital > microphones it is dealing with. ... + acpi.h ? > +#include <linux/export.h> + errno.h + minmax.h + printk.h + types.h > +#include <acpi/nhlt.h> ... > +#if IS_ENABLED(CONFIG_ACPI_NHLT) + kconfig.h ? > +#endif /* CONFIG_ACPI_NHLT */ -- With Best Regards, Andy Shevchenko