On Mon, Sep 17, 2012 at 09:10:23AM +0530, Vinod Koul wrote: > On Fri, 2012-09-14 at 12:18 +0100, Russell King - ARM Linux wrote: > > I'm not saying take the slave_id out of the map. I'm saying, let the > > DMA engine driver itself figure out what dma_chan to return. > But wont that assume the dma controller knows which channel to allocate. > And how would it know this information? This can be problematic for hard > wired muxes, but can be easily done for controller which have > programmable mux.
Well, as I have already said, at the moment you're returning the _first_ _free_ _channel_ on a DMA device, which almost certainly will always be the wrong one. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

