1. 11 Jul, 2011 6 commits
  2. 07 Jul, 2011 2 commits
    • Simon Guinot's avatar
      genirq: replace irq_gc_ack() with {set,clr}_bit variants (fwd) · 659fb32d
      Simon Guinot authored
      This fixes a regression introduced by e59347a1 "arm: orion:
      Use generic irq chip".
      
      Depending on the device, interrupts acknowledgement is done by setting
      or by clearing a dedicated register. Replace irq_gc_ack() with some
      {set,clr}_bit variants allows to handle both cases.
      
      Note that this patch affects the following SoCs: Davinci, Samsung and
      Orion. Except for this last, the change is minor: irq_gc_ack() is just
      renamed into irq_gc_ack_set_bit().
      
      For the Orion SoCs, the edge GPIO interrupts support is currently
      broken. irq_gc_ack() try to acknowledge a such interrupt by setting
      the corresponding cause register bit. The Orion GPIO device expect the
      opposite. To fix this issue, the irq_gc_ack_clr_bit() variant is used.
      
      Tested on Network Space v2.
      Reported-by: default avatarJoey Oravec <joravec@drewtech.com>
      Signed-off-by: default avatarSimon Guinot <sguinot@lacie.com>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      659fb32d
    • Wolfram Sang's avatar
      arm: mach-vt8500: add forgotten irq_data conversion · d30e1521
      Wolfram Sang authored
      This platform has not been converted to 'struct irq_data' when the big
      pile was done. It fails to compile nowadays, because the compatibility
      code has gone.
      
        CC      arch/arm/mach-vt8500/irq.o
      arch/arm/mach-vt8500/irq.c:118:2: error: unknown field 'ack' specified in initializer
      arch/arm/mach-vt8500/irq.c:118:2: warning: initialization from incompatible pointer type
      arch/arm/mach-vt8500/irq.c:119:2: error: unknown field 'mask' specified in initializer
      arch/arm/mach-vt8500/irq.c:119:2: warning: initialization from incompatible pointer type
      arch/arm/mach-vt8500/irq.c:120:2: error: unknown field 'unmask' specified in initializer
      arch/arm/mach-vt8500/irq.c:120:2: warning: initialization from incompatible pointer type
      arch/arm/mach-vt8500/irq.c:121:2: error: unknown field 'set_type' specified in initializer
      arch/arm/mach-vt8500/irq.c:121:2: warning: initialization from incompatible pointer type
      make[1]: *** [arch/arm/mach-vt8500/irq.o] Error 1
      
      Add the missing conversion. Tested on a JayPC-Tablet.
      Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
      Acked-by: default avatarAlexey Charkov <alchark@gmail.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      d30e1521
  3. 06 Jul, 2011 3 commits
  4. 04 Jul, 2011 7 commits
  5. 03 Jul, 2011 22 commits