Message ID | CACRpkdbdmJrM48dPyV3zWpi6QLnVYcSTnkZbTDTXRSrd+pyVew@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Friday 22 March 2013, Linus Walleij wrote: > diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c > index bc8f870..8eb8c49 100644 > --- a/drivers/mfd/db8500-prcmu.c > +++ b/drivers/mfd/db8500-prcmu.c > @@ -2680,7 +2680,7 @@ static int db8500_irq_init(struct device_node > *np, int irq_base) > int i; > > /* In the device tree case, just take some IRQs */ > - if (!np) > + if (np) > irq_base = 0; > > db8500_irq_domain = irq_domain_add_simple( I think I dreamed about this bug last night but didn't remember until now, and I had not looked there to confirm ;-) > After this the U8500 and U8520 boot to prompt with all the patches > applied! Ah, very good. Arnd
diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index bc8f870..8eb8c49 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c @@ -2680,7 +2680,7 @@ static int db8500_irq_init(struct device_node *np, int irq_base) int i; /* In the device tree case, just take some IRQs */ - if (!np) + if (np) irq_base = 0;