summaryrefslogtreecommitdiffstats
path: root/drivers/hwspinlock
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-05-26 16:33:39 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-07-01 14:16:08 +0100
commit70f3ff434d7fc9a3cea5ebbb8a8d7aaa4c906125 (patch)
treea8d04cf96ac8a3a61c7c9b712cebb7881bffed6f /drivers/hwspinlock
parentaa4afb754d42be064ae649b74a599b9d9d04ac57 (diff)
downloadlinux-70f3ff434d7fc9a3cea5ebbb8a8d7aaa4c906125.tar.bz2
dmaengine: PL08x: get rid of write only pool_ctr and free_txd locking
The free function says the pl08x lock should be taken before calling it. However, the DMA pool allocation/freeing is already properly locked. The only thing that would need this is pool_ctr, which happens to be a write-only variable. Let's get rid of this, and eliminate any need for additional locking here. Acked-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions