summaryrefslogtreecommitdiffstats
path: root/drivers/char/mspec.c
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/char/mspec.c
parentaa4afb754d42be064ae649b74a599b9d9d04ac57 (diff)
downloadlinux-70f3ff434d7fc9a3cea5ebbb8a8d7aaa4c906125.tar.gz
linux-70f3ff434d7fc9a3cea5ebbb8a8d7aaa4c906125.tar.bz2
linux-70f3ff434d7fc9a3cea5ebbb8a8d7aaa4c906125.zip
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/char/mspec.c')
0 files changed, 0 insertions, 0 deletions