dmaengine: s3c24xx-dma: Process whole SG chain
authorVasily Khoruzhick <anarsoul@gmail.com>
Tue, 20 May 2014 20:23:01 +0000 (23:23 +0300)
committerVinod Koul <vinod.koul@intel.com>
Sun, 1 Jun 2014 16:52:50 +0000 (22:22 +0530)
Due to redundant 'break' in loop driver processed only first chunk.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/s3c24xx-dma.c

index b209a0f173444f4df6431744b56f7815665e6dff..6528eeda1575df33a930faff8823048e66ec00a7 100644 (file)
@@ -961,7 +961,6 @@ static struct dma_async_tx_descriptor *s3c24xx_dma_prep_slave_sg(
                        dsg->src_addr = slave_addr;
                        dsg->dst_addr = sg_dma_address(sg);
                }
-               break;
        }
 
        return vchan_tx_prep(&s3cchan->vc, &txd->vd, flags);