Re: [PATCH 03/13] dmaengine: up-level reference counting to the module level
On Thu, Dec 4, 2008 at 12:28 PM, Guennadi Liakhovetski <g.liakhovetski@gmx.de> wrote: > Ok, but why not postpone calling .device_alloc_chan_resources() until a > channel is _found_?
dma_find_channel() is called in fast paths (atomic contexts, I/O writeout), so we need to allocate ahead of time.