mfd: Use request_threaded_irq for twl4030-irq instead of irq_set_chained_handler
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)
commitc1e61bcf8269d3bc4390a363ad2e1bc1dc226bda
treef64a5a7937d1a98f4fbb4f5940e325dc03c79889
parent286f8f3cd615177d5d0f8af8059a3fa39f51fa97
mfd: Use request_threaded_irq for twl4030-irq instead of irq_set_chained_handler

irq_set_chained_handler sets 'desc->handle_irq'.
However this irq is called by handle_nested_irq from handle_twl4030_pih,
and that uses action->thread_fn.

So the handled set with irq_set_chained_handler is never called.

So change to use request_threaded_irq instead - that sets the correct field.

Tested on GTA04 Phoenux.

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