mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dmaengine: hisi: Simplify preconditions of CONFIG_K3_DMA
@ 2023-09-24 15:23 Jonathan Neuschäfer
  2023-09-28 11:56 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Neuschäfer @ 2023-09-24 15:23 UTC (permalink / raw)
  To: dmaengine
  Cc: linux-arm-kernel, Wei Xu, John Stultz, Jonathan Neuschäfer,
	Vinod Koul, linux-kernel

Commit e39a2329cfb09 ("Kconfig: Allow k3dma driver to be selected for
more then HISI3xx platforms") expanded the "depends on" line of K3_DMA
from "ARCH_HI3xxx" to "ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST".
However, ARCH_HI3xxx implies ARCH_HISI, so it's unnecessary to list
both.

Instead, just list ARCH_HISI, which covers all HiSilicon platforms.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
 drivers/dma/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 4ccae1a3b8842..70ba506dabab5 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -362,7 +362,7 @@ config INTEL_IOATDMA

 config K3_DMA
 	tristate "Hisilicon K3 DMA support"
-	depends on ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST
+	depends on ARCH_HISI || COMPILE_TEST
 	select DMA_ENGINE
 	select DMA_VIRTUAL_CHANNELS
 	help
--
2.40.1


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

* Re: [PATCH] dmaengine: hisi: Simplify preconditions of CONFIG_K3_DMA
  2023-09-24 15:23 [PATCH] dmaengine: hisi: Simplify preconditions of CONFIG_K3_DMA Jonathan Neuschäfer
@ 2023-09-28 11:56 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2023-09-28 11:56 UTC (permalink / raw)
  To: dmaengine, Jonathan Neuschäfer
  Cc: linux-arm-kernel, Wei Xu, John Stultz, linux-kernel


On Sun, 24 Sep 2023 17:23:32 +0200, Jonathan Neuschäfer wrote:
> Commit e39a2329cfb09 ("Kconfig: Allow k3dma driver to be selected for
> more then HISI3xx platforms") expanded the "depends on" line of K3_DMA
> from "ARCH_HI3xxx" to "ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST".
> However, ARCH_HI3xxx implies ARCH_HISI, so it's unnecessary to list
> both.
> 
> Instead, just list ARCH_HISI, which covers all HiSilicon platforms.
> 
> [...]

Applied, thanks!

[1/1] dmaengine: hisi: Simplify preconditions of CONFIG_K3_DMA
      commit: 65b87548041ad70a8e26af08c0dda0b5893baf6b

Best regards,
-- 
~Vinod



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

end of thread, other threads:[~2023-09-28 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-24 15:23 [PATCH] dmaengine: hisi: Simplify preconditions of CONFIG_K3_DMA Jonathan Neuschäfer
2023-09-28 11:56 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®