Re: [PATCH 2/2] gpio: xgene-sb: Use irq_domain_free_irqs_common instead of open coded

2016-03-31 Thread Linus Walleij
On Thu, Mar 17, 2016 at 5:01 AM, Axel Lin wrote: > Current code calls irq_domain_alloc_irqs_parent() in .alloc, > so it should call irq_domain_free_irqs_parent() accordingly in .free. > Fix it by switching to use irq_domain_free_irqs_common() instead. > > Signed-off-by: Axel Lin Patch applied w

[PATCH 2/2] gpio: xgene-sb: Use irq_domain_free_irqs_common instead of open coded

2016-03-19 Thread Axel Lin
Current code calls irq_domain_alloc_irqs_parent() in .alloc, so it should call irq_domain_free_irqs_parent() accordingly in .free. Fix it by switching to use irq_domain_free_irqs_common() instead. Signed-off-by: Axel Lin --- drivers/gpio/gpio-xgene-sb.c | 15 +-- 1 file changed, 1 in

Re: [PATCH 2/2] gpio: xgene-sb: Use irq_domain_free_irqs_common instead of open coded

2016-03-19 Thread Marc Zyngier
On 17/03/16 04:01, Axel Lin wrote: > Current code calls irq_domain_alloc_irqs_parent() in .alloc, > so it should call irq_domain_free_irqs_parent() accordingly in .free. > Fix it by switching to use irq_domain_free_irqs_common() instead. > > Signed-off-by: Axel Lin > --- > drivers/gpio/gpio-xgen