]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dmaengine: PL08x: track mux usage on a per-channel basis.
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 25 May 2012 10:32:45 +0000 (11:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Jul 2012 13:15:50 +0000 (14:15 +0100)
commit5e2479bd0e0dc41f2b9f6b4345bc5d4557837056
tree4822ee508024f5470cebfda8a1312e82ee05415b
parentad0de2ac3218d372149d89d9d5c5058aca6aa29b
dmaengine: PL08x: track mux usage on a per-channel basis.

Keep track of the number of descriptors currently using a MUX setting
on a per-channel basis.  This allows us to know when we have descriptors
queued somewhere which have been assigned a DMA request signal.

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