lkml.org 
[lkml]   [2016]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 07/15] irqdomain: Don't set type when mapping an IRQ
    From
    Date

    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;
    >>
    >> /*
    >> + * If the trigger type is not specified by the caller,
    >> + * then use the default for this interrupt.
    >> + */
    >> + if (!(new->flags & IRQF_TRIGGER_MASK))
    >> + new->flags |= irqd_get_trigger_type(&desc->irq_data);
    >> +
    >
    > This change is independent of the irqdomain part and should be in a seperate
    > patch because it affects all callers.

    Ok, I will put this into a separate patch.

    Cheers
    Jon

    \
     
     \ /
      Last update: 2016-03-17 16:41    [W:4.058 / U:0.624 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site