Re: [PATCH 07/15] irqdomain: Don't set type when mapping an IRQ

2016-03-19 Thread Jon Hunter
On 17/03/16 14:55, Thomas Gleixner wrote: > On Thu, 17 Mar 2016, Jon Hunter wrote: >> --- a/kernel/irq/manage.c >> +++ b/kernel/irq/manage.c >> @@ -1117,6 +1117,13 @@ __setup_irq(unsigned int irq, struct irq_desc *desc, >> struct irqaction *new) >> new->irq = irq; >> >> /* >> + *

Re: [PATCH 07/15] irqdomain: Don't set type when mapping an IRQ

2016-03-19 Thread Thomas Gleixner
On Thu, 17 Mar 2016, Jon Hunter wrote: > --- a/kernel/irq/manage.c > +++ b/kernel/irq/manage.c > @@ -1117,6 +1117,13 @@ __setup_irq(unsigned int irq, struct irq_desc *desc, > struct irqaction *new) > new->irq = irq; > > /* > + * If the trigger type is not specified by the caller

Re: [PATCH 07/15] irqdomain: Don't set type when mapping an IRQ

2016-03-18 Thread Jon Hunter
On 17/03/16 14:19, Jon Hunter wrote: > Some IRQ chips, such as GPIO controllers or secondary level interrupt > controllers, may require require additional runtime power management > control to ensure they are accessible. For such IRQ chips, it makes sense > to enable the IRQ chip when interrupts a