2022-11-08 11:52:46

by Yang Yang

[permalink] [raw]
Subject: [PATCH linux-next] ASoC: SOF: remove duplicated included sof-audio.h

From: Xu Panda <[email protected]>

The sof-audio.h is included more than once.

Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Xu Panda <[email protected]>
Signed-off-by: Yang Yang <[email protected]>
---
sound/soc/sof/amd/acp-common.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/sound/soc/sof/amd/acp-common.c b/sound/soc/sof/amd/acp-common.c
index 27b95187356e..348e70dfe2a5 100644
--- a/sound/soc/sof/amd/acp-common.c
+++ b/sound/soc/sof/amd/acp-common.c
@@ -13,7 +13,6 @@
#include "../sof-priv.h"
#include "../sof-audio.h"
#include "../ops.h"
-#include "../sof-audio.h"
#include "acp.h"
#include "acp-dsp-offset.h"

--
2.15.2


2022-11-08 16:09:30

by Pierre-Louis Bossart

[permalink] [raw]
Subject: Re: [PATCH linux-next] ASoC: SOF: remove duplicated included sof-audio.h

You need to CC: maintainers and the alsa-devel mailing list in a v2

On 11/8/22 05:31, [email protected] wrote:
> From: Xu Panda <[email protected]>
>
> The sof-audio.h is included more than once.
>
> Reported-by: Zeal Robot <[email protected]>
> Signed-off-by: Xu Panda <[email protected]>
> Signed-off-by: Yang Yang <[email protected]>

Reviewed-by: Pierre-Louis Bossart <[email protected]>

> ---
> sound/soc/sof/amd/acp-common.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/sound/soc/sof/amd/acp-common.c b/sound/soc/sof/amd/acp-common.c
> index 27b95187356e..348e70dfe2a5 100644
> --- a/sound/soc/sof/amd/acp-common.c
> +++ b/sound/soc/sof/amd/acp-common.c
> @@ -13,7 +13,6 @@
> #include "../sof-priv.h"
> #include "../sof-audio.h"
> #include "../ops.h"
> -#include "../sof-audio.h"
> #include "acp.h"
> #include "acp-dsp-offset.h"
>