Home
last modified time | relevance | path

Searched hist:"1 cef8e41073efe47e809f49670eb461307e52ccc" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mfd/
H A Dtwl4030-irq.cdiff 1cef8e41073efe47e809f49670eb461307e52ccc Mon Jul 27 08:00:48 CEST 2009 Russell King <rmk+kernel@arm.linux.org.uk> mfd: twl4030 irq fixes

The TWL4030 IRQ handler has a bug which leads to spinlock lock-up. It is
calling the 'unmask' function in a process context. :The mask/unmask/ack
functions are only designed to be called from the IRQ handler code,
or the proper API interfaces found in linux/interrupt.h.

Also there is no need to have IRQ chaining mechanism. The right way to
handle this is to claim the parent interrupt as a standard interrupt
and arrange for handle_twl4030_pih to take care of the rest of the devices.

Mail thread on this issue can be found at:
http://marc.info/?l=linux-arm-kernel&m=124629940123396&w=2

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>