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

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);