Re: [PATCH v6 2/4] ACPI: NHLT: Introduce API for the table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux