Messages in this thread | | | Date | Wed, 6 Jul 2011 15:44:42 -0700 | From | Mark Brown <> | Subject | Re: [PATCH 02/11] GPIO: DA9052 GPIO module v3 |
| |
On Wed, Jul 06, 2011 at 10:36:56AM -0600, Grant Likely wrote:
> It looks like this needs to be merged via the MFD tree since it > depends on the core da9052 driver patch.
Actually that's not such an issue for new MFDs - since the function drivers all depend on the core driver they can't be enabled in Kconfig until the MFD part has been merged so don't do any harm.
> > +static int da9052_gpio_to_irq(struct gpio_chip *gc, u32 offset) > > +{ > > + struct da9052_gpio *gpio = to_da9052_gpio(gc); > > + struct da9052 *da9052 = gpio->da9052;
> > + return da9052->irq_base + DA9052_IRQ_GPI0 + offset;
> Who allocates the irq_descs for these irqs?
SoP for MFDs is to do this in the core as part of the larger block of interrupts, the core driver is doing this.
| |