dmaengine: imx-dma: fix missing unlock on error in imxdma_xfer_desc()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sun, 21 Oct 2012 11:58:30 +0000 (19:58 +0800)
committerVinod Koul <vinod.koul@linux.intel.com>
Wed, 24 Oct 2012 03:22:45 +0000 (08:52 +0530)
commit720dfd250e48a8c7fd1b2b8645955413989c4ee0
treeb135e9221491a034ba21905730ca2cc253e8ea7e
parentddffeb8c4d0331609ef2581d84de4d763607bd37
dmaengine: imx-dma: fix missing unlock on error in imxdma_xfer_desc()

Add the missing unlock on the error handling path in function
imxdma_xfer_desc().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/imx-dma.c