summaryrefslogtreecommitdiffstats
path: root/drivers/dma/Kconfig
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2017-04-27 14:21:40 +0200
committerVinod Koul <vinod.koul@intel.com>2017-05-01 15:50:59 +0530
commit58532e66261e8cee52ac0abbe33c502b6e76f380 (patch)
tree6cfa8144456c038e62ee23a25f8832d5b5532a86 /drivers/dma/Kconfig
parentfdb980fb17c6a474614dd984b500418a2811d9e7 (diff)
downloadblackbird-op-linux-58532e66261e8cee52ac0abbe33c502b6e76f380.tar.gz
blackbird-op-linux-58532e66261e8cee52ac0abbe33c502b6e76f380.zip
dmaengine: dmatest: Select DMA_ENGINE_RAID as its needed for the slave_sg test
To enable usage of multiple SG buffers via the sg_buffers= module parameter, lets select DMA_ENGINE_RAID via Kconfig when DMATEST is configured. Otherwise the dmatest will "BUG" when more than 1 buffer (total of 2 for src + dst) is configured via sg_buffers. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Kedareswara rao Appana <appanad@xilinx.com> Cc: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/Kconfig')
-rw-r--r--drivers/dma/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index d01d59812cf3..9be6736cb3d2 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -608,6 +608,7 @@ config ASYNC_TX_DMA
config DMATEST
tristate "DMA Test client"
depends on DMA_ENGINE
+ select DMA_ENGINE_RAID
help
Simple DMA test client. Say N unless you're debugging a
DMA Device driver.
OpenPOWER on IntegriCloud