aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/imx-dma.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-11-06 10:51:06 -0500
committerOlof Johansson <olof@lixom.net>2012-11-06 10:51:06 -0500
commit66267ee58732bb4c21c7bbba004ee481b8ad2b30 (patch)
treebf7f72e623d7c1ca6472e0a1286e802cd3bff139 /drivers/dma/imx-dma.c
parent6ed68a6d83e4497dc33581ccc82b4fa3e7e8226d (diff)
parentf58007762f537ba13674a3138b3f4c20fff1cba9 (diff)
Merge branch 'arm-next' of git://git.xilinx.com/linux-xlnx into next/cleanup
From Michal Simek: * 'arm-next' of git://git.xilinx.com/linux-xlnx: zynq: move static peripheral mappings zynq: remove use of CLKDEV_LOOKUP zynq: use pl310 device tree bindings zynq: use GIC device tree bindings + Linux 3.7-rc3
Diffstat (limited to 'drivers/dma/imx-dma.c')
-rw-r--r--drivers/dma/imx-dma.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c
index a3a8270e76fb..dbf0e6f8de8a 100644
--- a/drivers/dma/imx-dma.c
+++ b/drivers/dma/imx-dma.c
@@ -513,8 +513,10 @@ static int imxdma_xfer_desc(struct imxdma_desc *d)
513 slot = i; 513 slot = i;
514 break; 514 break;
515 } 515 }
516 if (slot < 0) 516 if (slot < 0) {
517 spin_unlock_irqrestore(&imxdma->lock, flags);
517 return -EBUSY; 518 return -EBUSY;
519 }
518 520
519 imxdma->slots_2d[slot].xsr = d->x; 521 imxdma->slots_2d[slot].xsr = d->x;
520 imxdma->slots_2d[slot].ysr = d->y; 522 imxdma->slots_2d[slot].ysr = d->y;