lkml.org 
[lkml]   [2012]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 6/7] gpio/langwell: find the irq domain mapping
From
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


\
 
 \ /
  Last update: 2012-10-19 13:01    [W:0.078 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site