dmaengine: dmatest: Select DMA_ENGINE_RAID as its needed for the slave_sg test
authorStefan Roese <sr@denx.de>
Thu, 27 Apr 2017 12:21:40 +0000 (14:21 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 1 May 2017 10:20:59 +0000 (15:50 +0530)
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>
drivers/dma/Kconfig

index d01d59812cf3ec8f171e09641ae2c1c787e0de06..9be6736cb3d20758450d130d94f438d08863ba19 100644 (file)
@@ -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.