]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
dma: xilinx: Release spinlock earlier
authorJoseph Zavodny <Joseph.Zavodny@jhuapl.edu>
Tue, 25 Aug 2015 19:28:00 +0000 (15:28 -0400)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 27 Aug 2015 11:49:35 +0000 (13:49 +0200)
commitdc6281a565c599ad260175f9d32f152b2efcfe7b
treedc4b16614990ea64797524ad62a70ce1127e15aa
parentec210e10bd9272c971a4d66e163e33809d8a9ed1
dma: xilinx: Release spinlock earlier

There is no need to hold the lock when setting the residue.  The
lock protects access to the descriptor and segment linked lists.

Signed-off-by: Joseph Zavodny <Joseph.Zavodny@jhuapl.edu>
Acked-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/dma/xilinx/xilinx_dma.c