1. 27 7月, 2015 10 次提交
  2. 21 7月, 2015 1 次提交
  3. 17 7月, 2015 4 次提交
  4. 16 7月, 2015 18 次提交
  5. 14 7月, 2015 7 次提交
    • T
      gpio/davinci: Fix race in installing chained irq handler · bdac2b6d
      Thomas Gleixner 提交于
      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: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NThomas 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
    • T
      gpio/davinci: Avoid redundant lookup of irq_data · 1765d671
      Thomas Gleixner 提交于
      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: NThomas 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
    • T
      gpio/msm-v2: Avoid redundant lookup of irq_data · 789f9dab
      Thomas Gleixner 提交于
      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: NThomas 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
    • T
      gpio/sa1100: Prepare sa1100_gpio_handler for irq argument removal · 2951a799
      Thomas Gleixner 提交于
      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: NThomas 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
    • T
      gpio/mvebu: Prepare mvebu_gpio_irq_handler for irq argument removal · 364ea44b
      Thomas Gleixner 提交于
      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: NThomas 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
    • T
      gpio/ep93xx: Prepare ep93xx_gpio_f_irq_handler for irq argument removal · e43ea7a7
      Thomas Gleixner 提交于
      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: NThomas 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
    • T
      gpio/davinci: Prepare gpio_irq_handler for irq argument removal · c3ca1e6f
      Thomas Gleixner 提交于
      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: NThomas 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