Messages in this thread |  | | | Date | Wed, 28 Jul 2010 00:28:03 -0700 | | Subject | Re: [PATCH] DMAENGINE: generic slave channel control v3 | | From | Dan Williams <> |
| |
On Fri, Jul 23, 2010 at 10:27 AM, Linus Walleij <linus.walleij@stericsson.com> wrote: > This adds an interface to the DMAengine to make it possible to > reconfigure a slave channel at runtime. We add a few foreseen > config parameters to the passed struct, with a void * pointer > for custom per-device or per-platform runtime slave data. > > Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Ok, let's go with this version, but one question before I apply it:
What are the rules for when a new dma_slave_config can be set? Looking at the driver implementations it seems there is nothing preventing a concurrent call to device_control to occur at "wrong time"? Is there a synchronization context I'm missing?
-- Dan
|  |