summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-lpc32xx/irq.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: LPC32xx: Cleanup irq.cRoland Stigge2012-11-071-5/+0
| | | | | | | | | | | 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: Roland Stigge <stigge@antcom.de>
* ARM: LPC32xx: Relocate calls to irq_set_chained_handler()Roland Stigge2012-11-071-4/+4
| | | | | | | | | | | | | | | | | | | 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: Roland Stigge <stigge@antcom.de>
* ARM: LPC32xx: Remove superfluous irq_alloc_descs()Roland Stigge2012-11-071-9/+1
| | | | | | | This patch removes the call to irq_alloc_descs() which always returns an error since the descriptors are always preallocated already. Signed-off-by: Roland Stigge <stigge@antcom.de>
* ARM: LPC32xx: Use handle_edge_irq() callback on edge type irqsRoland Stigge2012-09-061-3/+4
| | | | | | | | irq.c uses handle_level_irq() as the unconditional default handler. This patch uses handle_edge_irq() instead for edge type irqs. Signed-off-by: Roland Stigge <stigge@antcom.de> Acked-by: Srinivas Bakki <srinivas.bakki@nxp.com>
* ARM: LPC32xx: Device tree supportRoland Stigge2012-04-221-20/+58
| | | | | | This patch does the actual device tree switch for the LPC32xx SoC. Signed-off-by: Roland Stigge <stigge@antcom.de>
* Merge branch 'lpc32xx/drivers' into next/driversArnd Bergmann2012-03-151-0/+4
|\
| * ARM: LPC32xx: Ethernet supportRoland Stigge2012-03-131-0/+4
| | | | | | | | | | | | | | | | This patch adds ethernet support to the LPC32xx ARM architecture. The actual driver in drivers/net is contained in a separate patch. Signed-off-by: Roland Stigge <stigge@antcom.de> Acked-by: Arnd Bergmann <arnd@arndb.de>
* | ARM: LPC32xx: irq.c: Clear latched eventRoland Stigge2012-02-271-1/+10
| | | | | | | | | | | | | | This patch fixes the wakeup disable function by clearing latched events. Signed-off-by: Roland Stigge <stigge@antcom.de> Cc: stable@vger.kernel.org
* | ARM: LPC32xx: Fix interrupt controller initRoland Stigge2012-02-271-4/+6
| | | | | | | | | | | | | | | | | | This patch fixes the initialization of the interrupt controller of the LPC32xx by correctly setting up SIC1 and SIC2 instead of (wrongly) using the same value as for the Main Interrupt Controller (MIC). Signed-off-by: Roland Stigge <stigge@antcom.de> Cc: stable@vger.kernel.org
* | ARM: LPC32xx: Fix irq on GPI_28Roland Stigge2012-02-271-0/+4
|/ | | | | | | | | | The GPI_28 IRQ was not registered properly. The registration of IRQ_LPC32XX_GPI_28 was added and the (wrong) IRQ_LPC32XX_GPI_11 at LPC32XX_SIC1_IRQ(4) was replaced by IRQ_LPC32XX_GPI_28 (see manual of LPC32xx / interrupt controller). Signed-off-by: Roland Stigge <stigge@antcom.de> Cc: stable@vger.kernel.org
* arm: Fold irq_set_chip/irq_set_handlerThomas Gleixner2011-03-291-2/+2
| | | | | | Use irq_set_chip_and_handler() instead. Converted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: Cleanup the irq namespaceThomas Gleixner2011-03-291-5/+5
| | | | | | Convert to the new function names. Automated with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* ARM: lpc32xx: irq_data conversion.Lennert Buytenhek2011-01-131-28/+28
| | | | Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca>
* ARM: LPC32XX: GPIO, timer, and IRQ driversKevin Wells2010-07-271-0/+432
Common drivers for the LPC32XX used on all platforms Signed-off-by: Kevin Wells <wellsk40@gmail.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
OpenPOWER on IntegriCloud