Thread (1 message) 1 message, 1 author, 2013-01-29

Re: [PATCH 1/5] dmaengine: dw_dmac: move to generic DMA binding

From: Russell King - ARM Linux <hidden>
Date: 2013-01-29 11:18:50
Also in: linux-arm-kernel

On Tue, Jan 29, 2013 at 10:50:23AM +0000, Arnd Bergmann wrote:
(putting back the Cc list, I assumed you dropped them accidentally)
That'll be why I don't have a copy of Andy's email to reply to.
On Tuesday 29 January 2013, Andy Shevchenko wrote:
quoted
On Mon, 2013-01-28 at 21:58 +0000, Arnd Bergmann wrote: 
quoted
-	if ((last_dw == dw) && (last_bus_id == param))
+	/* both the driver and the device must match */
+        if (chan->device->dev->driver != &dw_driver.driver)
Could we somehow pass the &.driver to the generic filter function (via
*_dma_controller_register() ? ) and do this to each DMA driver?
How, and what driver gets passed?
My hope is still that we can avoid using filter functions entirely
when we use xlate() logic, and instead just go through the channels
of the dma engine we know we are looking at.
Has anyone yet determined whether any of these new DMA engine slave APIs
are usable for implementations which have a separate MUX between the
DMA engine and the DMA peripheral?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help