]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mfd: Base interrupt for twl4030-irq must be one-shot
authorNeilBrown <neilb@suse.de>
Sat, 26 Nov 2011 20:17:41 +0000 (07:17 +1100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 12 Dec 2011 17:36:02 +0000 (18:36 +0100)
commit967816e8dcae4a379b55d18f9aa352e9c45ba4e1
tree8446ebe56d580ab5a633707df98c0ea0b7615fa2
parentccbbfb479a069ee36dba246a03cdc9193f69cd28
mfd: Base interrupt for twl4030-irq must be one-shot

As the interrupt source is only cleared by the threaded interrupt
service routine, we need to make the base interrupt IRQF_ONESHOT.
Without this, the first interrupt from the TWL4030 cause the CPU to
enter an infinite loop trying to handle to interrupt but never
clearing it.

Signed-off-by: NeilBrown <neilb@suse.de>
Tested-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl4030-irq.c