aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-rpc/dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-rpc/dma.c')
-rw-r--r--arch/arm/mach-rpc/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rpc/dma.c b/arch/arm/mach-rpc/dma.c
index 0163592b2af0..a5987bbed60d 100644
--- a/arch/arm/mach-rpc/dma.c
+++ b/arch/arm/mach-rpc/dma.c
@@ -67,7 +67,7 @@ static void iomd_get_next_sg(struct scatterlist *sg, struct iomd_dma *idma)
67 67
68 if (idma->dma.sg->length == 0) { 68 if (idma->dma.sg->length == 0) {
69 if (idma->dma.sgcount > 1) { 69 if (idma->dma.sgcount > 1) {
70 idma->dma.sg++; 70 idma->dma.sg = sg_next(idma->dma.sg);
71 idma->dma.sgcount--; 71 idma->dma.sgcount--;
72 } else { 72 } else {
73 idma->dma.sg = NULL; 73 idma->dma.sg = NULL;