Commit 6915f45f authored by Vasily Khoruzhick's avatar Vasily Khoruzhick Committed by Vinod Koul

dmaengine: s3c24xx-dma: Process whole SG chain

Due to redundant 'break' in loop driver processed only first chunk.
Signed-off-by: default avatarVasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent ffe59b29
...@@ -961,7 +961,6 @@ static struct dma_async_tx_descriptor *s3c24xx_dma_prep_slave_sg( ...@@ -961,7 +961,6 @@ static struct dma_async_tx_descriptor *s3c24xx_dma_prep_slave_sg(
dsg->src_addr = slave_addr; dsg->src_addr = slave_addr;
dsg->dst_addr = sg_dma_address(sg); dsg->dst_addr = sg_dma_address(sg);
} }
break;
} }
return vchan_tx_prep(&s3cchan->vc, &txd->vd, flags); return vchan_tx_prep(&s3cchan->vc, &txd->vd, flags);
......
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