2015-04-27 12:35:52

by Josh Boyer

[permalink] [raw]
Subject: [PATCH] dmaengine: Make X-Gene driver depend on ARCH_XGENE

The driver is specific to the APM X-Gene SoC. Make it depend on that
arch so that users are not unnecessarily prompted about it.

Signed-off-by: Josh Boyer <[email protected]>
---
drivers/dma/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index fd7ac13f2574..297ce56550dd 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -437,6 +437,7 @@ config IMG_MDC_DMA

config XGENE_DMA
tristate "APM X-Gene DMA support"
+ depends on ARCH_XGENE
select DMA_ENGINE
select DMA_ENGINE_RAID
select ASYNC_TX_ENABLE_CHANNEL_SWITCH
--
2.1.0


2015-05-04 08:26:39

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] dmaengine: Make X-Gene driver depend on ARCH_XGENE

On Mon, Apr 27, 2015 at 08:33:14AM -0400, Josh Boyer wrote:
> The driver is specific to the APM X-Gene SoC. Make it depend on that
> arch so that users are not unnecessarily prompted about it.
Hi Josh,

I have already applied a patch from jean for this

commit 801661467fd50832191c81665d061ffabcc1c5de
Author: Jean Delvare <[email protected]>
Date: Sun Apr 26 12:52:02 2015 +0200

dmaengine: xgene: Set hardware dependency

The xgene-dma driver is only useful on X-Gene SoC.

Signed-off-by: Jean Delvare <[email protected]>
Cc: Rameshwar Prasad Sahu <[email protected]>
Cc: Loc Ho <[email protected]>
Cc: Vinod Koul <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>

--
~Vinod

2015-05-04 15:02:54

by Josh Boyer

[permalink] [raw]
Subject: Re: [PATCH] dmaengine: Make X-Gene driver depend on ARCH_XGENE

On Mon, May 4, 2015 at 4:27 AM, Vinod Koul <[email protected]> wrote:
> On Mon, Apr 27, 2015 at 08:33:14AM -0400, Josh Boyer wrote:
>> The driver is specific to the APM X-Gene SoC. Make it depend on that
>> arch so that users are not unnecessarily prompted about it.
> Hi Josh,
>
> I have already applied a patch from jean for this
>
> commit 801661467fd50832191c81665d061ffabcc1c5de
> Author: Jean Delvare <[email protected]>
> Date: Sun Apr 26 12:52:02 2015 +0200
>
> dmaengine: xgene: Set hardware dependency
>
> The xgene-dma driver is only useful on X-Gene SoC.
>
> Signed-off-by: Jean Delvare <[email protected]>
> Cc: Rameshwar Prasad Sahu <[email protected]>
> Cc: Loc Ho <[email protected]>
> Cc: Vinod Koul <[email protected]>
> Signed-off-by: Vinod Koul <[email protected]>

Great, thanks.

josh