[RFC 26/34] dmaengine: PL08x: rejig physical channel allocation
From: Linus Walleij <hidden>
Date: 2012-05-31 01:23:13
From: Linus Walleij <hidden>
Date: 2012-05-31 01:23:13
On Tue, May 29, 2012 at 5:44 PM, Russell King [off-list ref] wrote:
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. Signed-off-by: Russell King <redacted>
Acked-by: Linus Walleij <redacted> Yours, Linus Walleij