1. 27 Jul, 2015 10 commits
  2. 21 Jul, 2015 1 commit
  3. 17 Jul, 2015 4 commits
  4. 16 Jul, 2015 9 commits
  5. 15 Jul, 2015 9 commits
  6. 14 Jul, 2015 7 commits
    • Thomas Gleixner's avatar
      gpio/davinci: Fix race in installing chained irq handler · bdac2b6d
      Thomas Gleixner authored
      Fix a race where a pending interrupt could be received and the handler
      called before the handler's data has been setup, by converting to
      irq_set_chained_handler_and_data().
          
      Search and conversion was done with coccinelle.
      Reported-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Alexandre Courbot <gnurou@gmail.com>
      bdac2b6d
    • Thomas Gleixner's avatar
      gpio/davinci: Avoid redundant lookup of irq_data · 1765d671
      Thomas Gleixner authored
      It's pretty silly to do
      
           void *cd = irq_get_chip_data(irq_data->irq);
      
      because that results in cd = irq_data->chip_data, but goes through a
      redundant lookup of the irq_data. Use irq_data directly.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: Jiang Liu <jiang.liu@linux.intel.com>
      Cc: linux-gpio@vger.kernel.org
      1765d671
    • Thomas Gleixner's avatar
      gpio/msm-v2: Avoid redundant lookup of irq_data · 789f9dab
      Thomas Gleixner authored
      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: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: Jiang Liu <jiang.liu@linux.intel.com>
      Cc: linux-gpio@vger.kernel.org
      789f9dab
    • Thomas Gleixner's avatar
      gpio/sa1100: Prepare sa1100_gpio_handler for irq argument removal · 2951a799
      Thomas Gleixner authored
      The irq argument of most interrupt flow handlers is unused or merily
      used instead of a local variable. The handlers which need the irq
      argument can retrieve the irq number from the irq descriptor.
      
      Search and update was done with coccinelle and the invaluable help of
      Julia Lawall.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Cc: Jiang Liu <jiang.liu@linux.intel.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: linux-gpio@vger.kernel.org
      2951a799
    • Thomas Gleixner's avatar
      gpio/mvebu: Prepare mvebu_gpio_irq_handler for irq argument removal · 364ea44b
      Thomas Gleixner authored
      The irq argument of most interrupt flow handlers is unused or merily
      used instead of a local variable. The handlers which need the irq
      argument can retrieve the irq number from the irq descriptor.
      
      Search and update was done with coccinelle and the invaluable help of
      Julia Lawall.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Cc: Jiang Liu <jiang.liu@linux.intel.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: linux-gpio@vger.kernel.org
      364ea44b
    • Thomas Gleixner's avatar
      gpio/ep93xx: Prepare ep93xx_gpio_f_irq_handler for irq argument removal · e43ea7a7
      Thomas Gleixner authored
      The irq argument of most interrupt flow handlers is unused or merily
      used instead of a local variable. The handlers which need the irq
      argument can retrieve the irq number from the irq descriptor.
      
      Search and update was done with coccinelle and the invaluable help of
      Julia Lawall.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Cc: Jiang Liu <jiang.liu@linux.intel.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: linux-gpio@vger.kernel.org
      e43ea7a7
    • Thomas Gleixner's avatar
      gpio/davinci: Prepare gpio_irq_handler for irq argument removal · c3ca1e6f
      Thomas Gleixner authored
      The irq argument of most interrupt flow handlers is unused or merily
      used instead of a local variable. The handlers which need the irq
      argument can retrieve the irq number from the irq descriptor.
      
      Search and update was done with coccinelle and the invaluable help of
      Julia Lawall.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Cc: Jiang Liu <jiang.liu@linux.intel.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: linux-gpio@vger.kernel.org
      c3ca1e6f