Commit 5e0eaa17 authored by Federico Vaga's avatar Federico Vaga

sw:drv: DMA direction from function argument

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent ee611f31
......@@ -184,7 +184,7 @@ static int spec_fpga_dbg_dma_transfer(struct spec_fpga_dbg_dma *dbgdma,
tx = dmaengine_prep_slave_single(dbgdma->dchan,
dbgdma->datadma, count,
DMA_DEV_TO_MEM, 0);
dir, 0);
if (!tx) {
err = -EINVAL;
goto err_prep;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment