Messages in this thread | | | Date | Thu, 22 Sep 2011 09:22:05 +0100 | From | Russell King - ARM Linux <> | Subject | Re: [PATCH] dmaengine: delete redundant chan_id and chancnt initialization in dma drivers |
| |
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.
| |