]> git.proxmox.com Git - mirror_ubuntu-kernels.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>
Tue, 20 Dec 2011 17:53:25 +0000 (18:53 +0100)
commit286f8f3cd615177d5d0f8af8059a3fa39f51fa97
tree13420240fc5b4a9acb78272e328f5653daab30a5
parent8f6a459a9daa6ce76d7c192f2cb3047fffb45ec8
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