Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58532e66 authored by Stefan Roese's avatar Stefan Roese Committed by Vinod Koul
Browse files

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: default avatarStefan Roese <sr@denx.de>
Cc: Kedareswara rao Appana <appanad@xilinx.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent fdb980fb
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -608,6 +608,7 @@ config ASYNC_TX_DMA
config DMATEST
config DMATEST
	tristate "DMA Test client"
	tristate "DMA Test client"
	depends on DMA_ENGINE
	depends on DMA_ENGINE
	select DMA_ENGINE_RAID
	help
	help
	  Simple DMA test client. Say N unless you're debugging a
	  Simple DMA test client. Say N unless you're debugging a
	  DMA Device driver.
	  DMA Device driver.