dmaengine: xilinx_vdma: Simplify spin lock handling
authorKedareswara rao Appana <appana.durga.rao@xilinx.com>
Fri, 26 Feb 2016 14:03:52 +0000 (19:33 +0530)
committerVinod Koul <vinod.koul@intel.com>
Thu, 3 Mar 2016 15:32:38 +0000 (21:02 +0530)
commit26c5e36931b3fea7461ba6f0d8b65eb25ce2b917
tree3e386ab19e856703a1fcde0c5cadd6750eb7ebd7
parente2b538a77d99706a9d2dc12925f3f8477c724dcc
dmaengine: xilinx_vdma: Simplify spin lock handling

This patch simplifies the spin lock handling in the driver
by moving locking out of xilinx_dma_start_transfer() API
and xilinx_dma_update_completed_cookie() API.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/xilinx/xilinx_vdma.c