11 Aug, 2015

2 commits

  • It's pretty silly to do

    irq_data *d = irq_get_irq_data(irq_data->irq);

    because that results in d = irq_data, but goes through a lookup of the
    irq_data. Use irq_data directly.

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Lee Jones

    Thomas Gleixner
     
  • set_irq_flags is ARM specific with custom flags which have genirq
    equivalents. Convert drivers to use the genirq interfaces directly, so we
    can kill off set_irq_flags. The translation of flags is as follows:

    IRQF_VALID -> !IRQ_NOREQUEST
    IRQF_PROBE -> !IRQ_NOPROBE
    IRQF_NOAUTOEN -> IRQ_NOAUTOEN

    For IRQs managed by an irqdomain, the irqdomain core code handles clearing
    and setting IRQ_NOREQUEST already, so there is no need to do this in
    .map() functions and we can simply remove the set_irq_flags calls. Some
    users also modify IRQ_NOPROBE and this has been maintained although it
    is not clear that is really needed. There appears to be a great deal of
    blind copy and paste of this code.

    Signed-off-by: Rob Herring
    Acked-by: Linus Walleij
    Signed-off-by: Lee Jones

    Rob Herring
     

22 Jun, 2015

1 commit


01 Jul, 2013

1 commit

  • This patch adds irq domain support for max8998 interrupts.

    To keep both non-DT and DT worlds happy, simple domain is used, which is
    linear when no explicit IRQ base is specified and legacy, with static
    mapping, otherwise.

    Signed-off-by: Tomasz Figa
    Signed-off-by: Samuel Ortiz

    Tomasz Figa
     

27 Mar, 2011

1 commit


14 Jan, 2011

2 commits


29 Oct, 2010

2 commits