Messages in this thread | | | Date | Fri, 19 Oct 2012 12:10:25 +0200 | Subject | Re: [PATCH 6/7] gpio/langwell: find the irq domain mapping | From | Linus Walleij <> |
| |
On Wed, Oct 17, 2012 at 9:26 AM, Mika Westerberg <mika.westerberg@linux.intel.com> wrote: > On Tue, Oct 16, 2012 at 09:23:23PM +0200, Linus Walleij wrote: >> Switch from creating the IRQ domain mapping to finding it. In this >> case we know very well that the driver has created the apropriate >> mapping, we just need to locate it, no need to create any >> on-the-fly mappings. > > I may be missing something but where in the driver we create the mappings > then? I couldn't find any place where it is done.
I think I got this backwards in my head.
I was under the impression that descriptors were pre-allocated in the DT case. But now, you're right: for linear maps we have to call create* atleast once.
Sorry... dropping this crap.
Yours, Linus Walleij
| |