Skip to contentSkip to conversation

dmaengine: of: kconfig: select DMA_ENGINE when DMA_OF is selected

PATCH Applied Alexander Popov 2 participants 3 messages Jul 30, 2014 dmaengine

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dmaengine: of: kconfig: select DMA_ENGINE when DMA_OF is selected

Select DMA_ENGINE when DMA_OF is selected since of_dma_xlate_by_chan_id() from drivers/dma/of-dma.c uses dma_get_slave_channel() from drivers/dma/dmaengine.c

---
 drivers/dma/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/dma/Kconfig +1 -0
index 1eca7b9..f887b19 100644
@@ -388,6 +388,7 @@ config DMA_ACPI
 config DMA_OF
 	def_bool y
 	depends on OF
+	select DMA_ENGINE
 
 comment "DMA Clients"
 	depends on DMA_ENGINE
Signature · 1 line
1.8.4.2
Applied
#1 lore raw
Quoted 4 lines · Alexander Popov

Select DMA_ENGINE when DMA_OF is selected since of_dma_xlate_by_chan_id() from drivers/dma/of-dma.c uses dma_get_slave_channel() from drivers/dma/dmaengine.c

Please give credit to reporter by adding "Reported-by:" tag in commit

It is also got practice to give error log

Quoted 1 line

Applied, now after adding reported tag and error log

Signature · 1 line
~Vinod
Quoted 19 lines
---
 drivers/dma/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/dma/Kconfig +1 -0
index 1eca7b9..f887b19 100644
@@ -388,6 +388,7 @@ config DMA_ACPI
 config DMA_OF
 	def_bool y
 	depends on OF
+	select DMA_ENGINE
 
 comment "DMA Clients"
 	depends on DMA_ENGINE
Signature · 1 line
1.8.4.2
#2 lore raw

2014-07-30 17:38 GMT+04:00 Vinod Koul <[email protected]>:

Quoted 7 lines · Alexander Popov
Quoted 4 lines

Select DMA_ENGINE when DMA_OF is selected since of_dma_xlate_by_chan_id() from drivers/dma/of-dma.c uses dma_get_slave_channel() from drivers/dma/dmaengine.c

Please give credit to reporter by adding "Reported-by:" tag in commit It is also got practice to give error log

Ok, I got it.

Quoted 2 lines
Quoted 1 line

Applied, now after adding reported tag and error log

Thanks, Vinod.

Best regards,
Alexander