All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: stm32: sai: Remove useless define
@ 2022-05-25 13:50 ` Tang Bin
  0 siblings, 0 replies; 6+ messages in thread
From: Tang Bin @ 2022-05-25 13:50 UTC (permalink / raw)
  To: olivier.moysan, arnaud.pouliquen, lgirdwood, broonie, perex,
	tiwai, mcoquelin.stm32, alexandre.torgue
  Cc: linux-stm32, linux-arm-kernel, linux-kernel, Tang Bin

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
-- 
2.20.1.windows.1




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] ASoC: stm32: sai: Remove useless define
@ 2022-05-25 13:50 ` Tang Bin
  0 siblings, 0 replies; 6+ messages in thread
From: Tang Bin @ 2022-05-25 13:50 UTC (permalink / raw)
  To: olivier.moysan, arnaud.pouliquen, lgirdwood, broonie, perex,
	tiwai, mcoquelin.stm32, alexandre.torgue
  Cc: linux-stm32, linux-arm-kernel, linux-kernel, Tang Bin

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
-- 
2.20.1.windows.1




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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] ASoC: stm32: sai: Remove useless define
  2022-05-25 13:50 ` Tang Bin
@ 2022-05-25 15:36   ` Olivier MOYSAN
  -1 siblings, 0 replies; 6+ messages in thread
From: Olivier MOYSAN @ 2022-05-25 15:36 UTC (permalink / raw)
  To: Tang Bin, arnaud.pouliquen, lgirdwood, broonie, perex, tiwai,
	mcoquelin.stm32, alexandre.torgue
  Cc: linux-stm32, linux-arm-kernel, linux-kernel



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ASoC: stm32: sai: Remove useless define
@ 2022-05-25 15:36   ` Olivier MOYSAN
  0 siblings, 0 replies; 6+ messages in thread
From: Olivier MOYSAN @ 2022-05-25 15:36 UTC (permalink / raw)
  To: Tang Bin, arnaud.pouliquen, lgirdwood, broonie, perex, tiwai,
	mcoquelin.stm32, alexandre.torgue
  Cc: linux-stm32, linux-arm-kernel, linux-kernel



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ASoC: stm32: sai: Remove useless define
  2022-05-25 13:50 ` Tang Bin
@ 2022-06-07 10:45   ` Mark Brown
  -1 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2022-06-07 10:45 UTC (permalink / raw)
  To: tiwai, arnaud.pouliquen, tangbin, alexandre.torgue, lgirdwood,
	olivier.moysan, mcoquelin.stm32, perex
  Cc: linux-arm-kernel, linux-kernel, linux-stm32

On Wed, 25 May 2022 21:50:23 +0800, Tang Bin wrote:
> STM_SAI_IS_SUB_B(x) and STM_SAI_BLOCK_NAME(x) are
> not being used, so remove them.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: stm32: sai: Remove useless define
      commit: bf1ebcddcb19a1b6d6d8b75b75626197a5a76d4f

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ASoC: stm32: sai: Remove useless define
@ 2022-06-07 10:45   ` Mark Brown
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2022-06-07 10:45 UTC (permalink / raw)
  To: tiwai, arnaud.pouliquen, tangbin, alexandre.torgue, lgirdwood,
	olivier.moysan, mcoquelin.stm32, perex
  Cc: linux-arm-kernel, linux-kernel, linux-stm32

On Wed, 25 May 2022 21:50:23 +0800, Tang Bin wrote:
> STM_SAI_IS_SUB_B(x) and STM_SAI_BLOCK_NAME(x) are
> not being used, so remove them.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: stm32: sai: Remove useless define
      commit: bf1ebcddcb19a1b6d6d8b75b75626197a5a76d4f

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-07 10:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2022-05-25 15:36   ` Olivier MOYSAN
2022-06-07 10:45 ` Mark Brown
2022-06-07 10:45   ` Mark Brown

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.