dmaengine: xgene-dma: Fix the lock to allow client for further submission of requests
authorRameshwar Prasad Sahu <rsahu@apm.com>
Fri, 21 Aug 2015 09:03:34 +0000 (14:33 +0530)
committerVinod Koul <vinod.koul@intel.com>
Fri, 21 Aug 2015 10:18:37 +0000 (15:48 +0530)
commit005ce70b9448ed86c9a12e6504f1f9896a826e3d
tree300d80bfcbd221132ed858e2a7ed66a4e4ee9bd5
parent64f1d0ffbaaccf2ddaf02d3ebf67bf9044cb4db4
dmaengine: xgene-dma: Fix the lock to allow client for further submission of requests

This patch provides the fix in the cleanup routing such that client can perform
further submission by releasing the lock before calling client's callback function.

Signed-off-by: Rameshwar Prasad Sahu <rsahu@apm.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/xgene-dma.c