diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-05-26 13:54:15 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-07-01 14:15:57 +0100 |
commit | a5a488db427ef1ba637163d1a699b170c20d9789 (patch) | |
tree | c78ff3401fdb4c09609d4c528767043da77a1532 /drivers/clocksource/dw_apb_timer.c | |
parent | c33b644cb31899265ec5102a4ed45c44269dde95 (diff) | |
download | blackbird-op-linux-a5a488db427ef1ba637163d1a699b170c20d9789.tar.gz blackbird-op-linux-a5a488db427ef1ba637163d1a699b170c20d9789.zip |
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/clocksource/dw_apb_timer.c')
0 files changed, 0 insertions, 0 deletions