RE: Question: GPIO driver how to get irq_base

From: Tomoya MORINAGA
Date: Fri May 13 2011 - 01:42:49 EST


Friday, May 13, 2011 12:19 PM, Lars-Peter Clausen wrote:
> Well, you should be able to figure that out with some debug
> printks, shouldn't you?
I can confirm "18" is not assigned at that time.
After loading gpio driver, other modules are assigned to "IRQ18".
(IRQ numbers shared system)

Thanks,
-----------------------------------------
Tomoya MORINAGA
OKI SEMICONDUCTOR CO., LTD.


> -----Original Message-----
> From: Lars-Peter Clausen [mailto:lars@xxxxxxxxxx]
> Sent: Friday, May 13, 2011 12:19 PM
> To: Tomoya MORINAGA
> Cc: 'Grant Likely'; linux-kernel@xxxxxxxxxxxxxxx;
> toshiharu-linux@xxxxxxxxxxxxxxx
> Subject: Re: Question: GPIO driver how to get irq_base
>
> On 05/12/2011 07:40 PM, Tomoya MORINAGA wrote:
> > Hi Lars,
> >
> > On Friday, May 13, 2011 4:43 AM, Lars-Peter Clausen wrote:
> >> Is it already used at the time when you call irq_alloc_descs?
> >
> > Since gpio driver with interrupt function must be integrated as
> > built-in, I don't know whether "18" is already used or NOT
> at that time.
> > If you have any information, let me know.
> >
>
> Well, you should be able to figure that out with some debug
> printks, shouldn't you?
>
> - Lars
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/