1. 14 Jul, 2015 1 commit
  2. 25 Jun, 2015 1 commit
    • Thomas Gleixner's avatar
      gpio/bcm-kona: Fix race in installing chained IRQ handler · b34cc620
      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:
      
      @@
      expression E1, E2, E3;
      @@
      (
      -if (irq_set_chained_handler(E1, E3) != 0)
      -   BUG();
      |
      -irq_set_chained_handler(E1, E3);
      )
      -irq_set_handler_data(E1, E2);
      +irq_set_chained_handler_and_data(E1, E3, E2);
      
      @@
      expression E1, E2, E3;
      @@
      (
      -if (irq_set_chained_handler(E1, E3) != 0)
      -   BUG();
      ...
      |
      -irq_set_chained_handler(E1, E3);
      ...
      )
      -irq_set_handler_data(E1, E2);
      +irq_set_chained_handler_and_data(E1, E3, E2);
      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: Ray Jui <rjui@broadcom.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: bcm-kernel-feedback-list@broadcom.com
      Cc: linux-gpio@vger.kernel.org
      b34cc620
  3. 06 May, 2015 1 commit
  4. 27 Apr, 2015 1 commit
  5. 28 Oct, 2014 1 commit
  6. 20 Oct, 2014 1 commit
  7. 24 Sep, 2014 1 commit
  8. 18 Mar, 2014 1 commit
    • Linus Walleij's avatar
      gpio: switch drivers to use new callback · 57ef0428
      Linus Walleij authored
      This switches all GPIO and pin control drivers with irqchips
      that were using .startup() and .shutdown() callbacks to lock
      GPIO lines for IRQ usage over to using the .request_resources()
      and .release_resources() callbacks just introduced into the
      irqchip vtable.
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
      Signed-off-by: Linus Walleij's avatarLinus Walleij <linus.walleij@linaro.org>
      57ef0428
  9. 06 Feb, 2014 3 commits
  10. 05 Feb, 2014 1 commit
  11. 04 Dec, 2013 1 commit
  12. 27 Nov, 2013 1 commit
  13. 30 Oct, 2013 1 commit
  14. 18 Oct, 2013 1 commit
  15. 16 Oct, 2013 1 commit
    • Linus Walleij's avatar
      gpio: bcm_kona: rename confusing variables · d933cc61
      Linus Walleij authored
      Rename the argument "virq" to just "irq", this IRQ isn't any
      more "virtual" than any other Linux IRQ number, we use "hwirq"
      for the actual hw-numbers, "virq" is just bogus. Rename the
      "gpio" variable to "hwirq" to reflect what it is. Rename one
      instance of "virq" to "child_irq" that better describes what
      it is.
      
      Cc: Markus Mayer <markus.mayer@linaro.org>
      Signed-off-by: Linus Walleij's avatarLinus Walleij <linus.walleij@linaro.org>
      d933cc61
  16. 11 Oct, 2013 1 commit
  17. 20 Sep, 2013 2 commits