1. 07 Nov, 2012 3 commits
    • Roland Stigge's avatar
      ARM: LPC32xx: Cleanup irq.c · 91deef80
      Roland Stigge authored
      This patch removes the IRQ mask initialization which is already done some lines
      above.
      
      This was actually a bug: The init was supposed to set the bits for the
      (chained) SUB IRQs. But this is already fixed by the previous patch, doing this
      implicitely via irq_set_chained_handler().
      Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
      91deef80
    • Roland Stigge's avatar
      ARM: LPC32xx: Relocate calls to irq_set_chained_handler() · e40ec953
      Roland Stigge authored
      This patch fixes the issue of an access to a yet uninitialized data structure
      at the point where irq_set_chained_handler() was called by moving the
      respective calls to the end of lpc32xx_init_irq().
      
      The call path was:
      
      irq_set_chained_handler()
      -> __irq_set_handler()
      -> irq_startup()
      -> irq_enable()
      -> desc->irq_data.chip->irq_unmask()
      
      at which point lpc32xx_unmask_irq() effectively read desc->irq_data.hwirq which
      was only later initialized.
      Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
      e40ec953
    • Roland Stigge's avatar
      ARM: LPC32xx: Remove superfluous irq_alloc_descs() · 2998b1d3
      Roland Stigge authored
      This patch removes the call to irq_alloc_descs() which always returns an error
      since the descriptors are always preallocated already.
      Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
      2998b1d3
  2. 04 Nov, 2012 1 commit
  3. 03 Nov, 2012 15 commits
  4. 02 Nov, 2012 21 commits