All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olivier MOYSAN <olivier.moysan@foss.st.com>
To: Tang Bin <tangbin@cmss.chinamobile.com>,
	<arnaud.pouliquen@foss.st.com>, <lgirdwood@gmail.com>,
	<broonie@kernel.org>, <perex@perex.cz>, <tiwai@suse.com>,
	<mcoquelin.stm32@gmail.com>, <alexandre.torgue@foss.st.com>
Cc: <linux-stm32@st-md-mailman.stormreply.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ASoC: stm32: sai: Remove useless define
Date: Wed, 25 May 2022 17:36:07 +0200	[thread overview]
Message-ID: <06f99968-15a5-1138-2151-859b3e68c81d@foss.st.com> (raw)
In-Reply-To: <20220525135023.6792-1-tangbin@cmss.chinamobile.com>



On 5/25/22 15:50, Tang Bin wrote:
> STM_SAI_IS_SUB_B(x) and STM_SAI_BLOCK_NAME(x) are
> not being used, so remove them.
> 
> Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
> ---
>   sound/soc/stm/stm32_sai_sub.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c
> index d300605a2..4b33257c5 100644
> --- a/sound/soc/stm/stm32_sai_sub.c
> +++ b/sound/soc/stm/stm32_sai_sub.c
> @@ -45,8 +45,6 @@
>   #define STM_SAI_B_ID		0x1
>   
>   #define STM_SAI_IS_SUB_A(x)	((x)->id == STM_SAI_A_ID)
> -#define STM_SAI_IS_SUB_B(x)	((x)->id == STM_SAI_B_ID)
> -#define STM_SAI_BLOCK_NAME(x)	(((x)->id == STM_SAI_A_ID) ? "A" : "B")
>   
>   #define SAI_SYNC_NONE		0x0
>   #define SAI_SYNC_INTERNAL	0x1

Acked-by: Olivier Moysan <olivier.moysan@st.com>

Thanks
Olivier

WARNING: multiple messages have this Message-ID (diff)
From: Olivier MOYSAN <olivier.moysan@foss.st.com>
To: Tang Bin <tangbin@cmss.chinamobile.com>,
	<arnaud.pouliquen@foss.st.com>, <lgirdwood@gmail.com>,
	<broonie@kernel.org>, <perex@perex.cz>, <tiwai@suse.com>,
	<mcoquelin.stm32@gmail.com>, <alexandre.torgue@foss.st.com>
Cc: <linux-stm32@st-md-mailman.stormreply.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ASoC: stm32: sai: Remove useless define
Date: Wed, 25 May 2022 17:36:07 +0200	[thread overview]
Message-ID: <06f99968-15a5-1138-2151-859b3e68c81d@foss.st.com> (raw)
In-Reply-To: <20220525135023.6792-1-tangbin@cmss.chinamobile.com>



On 5/25/22 15:50, Tang Bin wrote:
> STM_SAI_IS_SUB_B(x) and STM_SAI_BLOCK_NAME(x) are
> not being used, so remove them.
> 
> Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
> ---
>   sound/soc/stm/stm32_sai_sub.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c
> index d300605a2..4b33257c5 100644
> --- a/sound/soc/stm/stm32_sai_sub.c
> +++ b/sound/soc/stm/stm32_sai_sub.c
> @@ -45,8 +45,6 @@
>   #define STM_SAI_B_ID		0x1
>   
>   #define STM_SAI_IS_SUB_A(x)	((x)->id == STM_SAI_A_ID)
> -#define STM_SAI_IS_SUB_B(x)	((x)->id == STM_SAI_B_ID)
> -#define STM_SAI_BLOCK_NAME(x)	(((x)->id == STM_SAI_A_ID) ? "A" : "B")
>   
>   #define SAI_SYNC_NONE		0x0
>   #define SAI_SYNC_INTERNAL	0x1

Acked-by: Olivier Moysan <olivier.moysan@st.com>

Thanks
Olivier

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2022-05-25 15:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-25 13:50 [PATCH] ASoC: stm32: sai: Remove useless define Tang Bin
2022-05-25 13:50 ` Tang Bin
2022-05-25 15:36 ` Olivier MOYSAN [this message]
2022-05-25 15:36   ` Olivier MOYSAN
2022-06-07 10:45 ` Mark Brown
2022-06-07 10:45   ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=06f99968-15a5-1138-2151-859b3e68c81d@foss.st.com \
    --to=olivier.moysan@foss.st.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=arnaud.pouliquen@foss.st.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=perex@perex.cz \
    --cc=tangbin@cmss.chinamobile.com \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.