[PATCH] dmaengine: delete redundant chan_id and chancnt initialization in dma drivers

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Sep 22 04:22:05 EDT 2011


On Thu, Sep 22, 2011 at 08:08:44AM +0800, Barry Song wrote:
> actually i don't like the way dmaengine core handles chan_id. in my
> opinion, every dmac only needs to tell dmaengine core the chan_base.
> then dmaengine core set the id in a global scale.

Think about where we're heading with DT - with the description of the
hardware setup.  We're no longer interested in a global number from
0 to N.  We're more interested in per-device numbering.



More information about the linux-arm-kernel mailing list