dmaengine: PL08x: use vchan's spinlock
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 May 2012 13:09:53 +0000 (14:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Jul 2012 13:15:59 +0000 (14:15 +0100)
commit083be28a1056eaaebdf116126b9d859348160f45
tree4f7e29394532a19d6f0cdde51aa16e1dde6c8ff2
parent01d8dc64e92a0abace41028db5b9ca298458543f
dmaengine: PL08x: use vchan's spinlock

Initialize the vchan struct, and use the provided spinlock rather than
our own.

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>
drivers/dma/Kconfig
drivers/dma/amba-pl08x.c