Re: [PATCH 6/7] ASoC: Intel: avs: Expose common PCM functions

From: Amadeusz Sławiński

Date: Mon Nov 02 2026 - 16:23:45 EST


On Mon, 2 Nov 2026 19:10:41 +0100
Cezary Rojewski <cezary.rojewski@xxxxxxxxx> wrote:

> diff --git a/sound/soc/intel/avs/pcm.h b/sound/soc/intel/avs/pcm.h
> index 0f3615c90398..ac127ade4ca1 100644
> --- a/sound/soc/intel/avs/pcm.h
> +++ b/sound/soc/intel/avs/pcm.h
> @@ -9,8 +9,57 @@
> #ifndef __SOUND_SOC_INTEL_AVS_PCM_H
> #define __SOUND_SOC_INTEL_AVS_PCM_H
>
> +#include <linux/device.h>
> +#include <sound/hdaudio_ext.h>
> #include <sound/pcm.h>
> +#include <sound/pcm_params.h>
> +#include <sound/soc-acpi.h>
> +#include <sound/pcm_params.h>
> +#include <sound/soc-acpi.h>
> +#include <sound/soc-acpi-intel-match.h>
> +#include <sound/soc-component.h>
> +#include <sound/soc-dai.h>

Some headers are included twice?