summaryrefslogtreecommitdiff
path: root/drivers/dma/pl330.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-05-26 12:54:15 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-07-01 13:15:57 (GMT)
commita5a488db427ef1ba637163d1a699b170c20d9789 (patch)
treec78ff3401fdb4c09609d4c528767043da77a1532 /drivers/dma/pl330.c
parentc33b644cb31899265ec5102a4ed45c44269dde95 (diff)
downloadlinux-fsl-qoriq-a5a488db427ef1ba637163d1a699b170c20d9789.tar.xz
dmaengine: PL08x: rejig physical channel allocation
Rework the physical channel allocation mechanism to only allocate physical channels to virtual channels when they're about to be used. This eliminates all the complexity with holding channels while descriptors are being prepared, which is completely unnecessary. This also brings this driver to a state where the generic virtual DMA code can be used with this driver, and opens up the possibility of properly scheduling and prioritorising physical DMA channels to virtual DMA channels. 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/dma/pl330.c')
0 files changed, 0 insertions, 0 deletions