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)
commit58532e66261e8cee52ac0abbe33c502b6e76f380
tree6cfa8144456c038e62ee23a25f8832d5b5532a86
parentfdb980fb17c6a474614dd984b500418a2811d9e7
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>
drivers/dma/Kconfig