commit | 2b99c2592167eb1043e16d1e7187afdc7c940a41 | [log] [tgz] |
---|---|---|
author | Barry Song <Baohua.Song@csr.com> | Fri Dec 14 11:06:58 2012 +0000 |
committer | Vinod Koul <vinod.koul@intel.com> | Mon Jan 28 01:44:46 2013 -0800 |
tree | afeb11ea46e527befcd07b956596ea8cf8c18585 | |
parent | 2518d1d1fc0ba7ef781bac97132bcfd6d7466c4b [diff] |
DMAEngine: sirf: lock the shared registers access in sirfsoc_dma_terminate_all Just like Russell pointed out in "DMAEngine: sirf: add DMA pause/resume support" at http://www.spinics.net/lists/arm-kernel/msg212496.html here I find sirfsoc_dma_terminate_all() has same problem, so move the locking to the front of registers access. Signed-off-by: Barry Song <Baohua.Song@csr.com> Cc: Russell King <linux@arm.linux.org.uk> Signed-off-by: Vinod Koul <vinod.koul@intel.com>