Re: [PATCH V3 2/2] gpio: add STA2X11 GPIO block
From: Mark Brown
Date: Mon May 14 2012 - 06:08:16 EST
On Mon, May 14, 2012 at 12:06:45PM +0200, Alessandro Rubini wrote:
> > If you use platform data why would you get unpredicatable numbers?
> Because I request the irq numbers from the gpio driver (now I request
> a free slot starting from 384, because previous drivers had it
> hardwired). So if the gpio driver requests a slot starting from 0 it
> may get different values -- in general I can't now what it gets.
But this is because you're not using platform data! If you use platform
data to tell all the drivers including the gpio driver which ranges to
use then this problem does not exist.
Description: Digital signature