Messages in this thread | | | Subject | RE: [PATCH 01/11] dmaengine: add context parameter toprep_slave_sgand prep_dma_cyclic | From | Vinod Koul <> | Date | Tue, 07 Feb 2012 19:44:17 +0530 |
| |
On Tue, 2012-02-07 at 06:01 -0800, Bounine, Alexandre wrote: > Currently function private_candidate() allows filtering function > not to be specified and therefore skip the filter check. > It may be a good safety measure to ensure that channels specified > as DMA_SLAVE_EXT provide a corresponding filter routine so they > positively identify dma channel that will accept intended extra > parameter. > I assume that a system may have more than one dmac registered as > DMA_SLAVE_EXT. > > This is what I have for RapidIO - the filter call ensures that DMA > channel is associated with a RapidIO controller that provides access > to the specified SRIO device. For slave-dma it's better to have a filter :) -- ~Vinod
| |