diff options
author | 2011-11-27 07:17:41 +1100 | |
---|---|---|
committer | 2012-01-09 00:37:33 +0100 | |
commit | b18d1f0f490cbeefd389ccd90504dd6501e6d493 (patch) | |
tree | ebe612a8130006909a55c8d7dc44adf157f6b6e3 /drivers/mfd | |
parent | mfd: Fixed unconditional reset of the mc13xxx ADC reading enable bits (diff) | |
download | linux-b18d1f0f490cbeefd389ccd90504dd6501e6d493.tar.gz linux-b18d1f0f490cbeefd389ccd90504dd6501e6d493.tar.bz2 linux-b18d1f0f490cbeefd389ccd90504dd6501e6d493.zip |
mfd: Set twl4030-irq tertiary interrupts to be nested/threaded.
As tertiary interrupts are handled by handle_twl4030_sih calling
handle_nested_irq, they do not need their own separate irq thread.
So mark them as 'nested_thread' interrupts to avoid the extra thread
creation.
Tested on GTA04 Pheonux.
Signed-off-by: NeilBrown <neilb@suse.de>
Tested-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/twl4030-irq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c index 29f11e0765fe..3ac72163b7bd 100644 --- a/drivers/mfd/twl4030-irq.c +++ b/drivers/mfd/twl4030-irq.c @@ -667,6 +667,7 @@ int twl4030_sih_setup(int module) irq_set_chip_data(irq, agent); irq_set_chip_and_handler(irq, &twl4030_sih_irq_chip, handle_edge_irq); + irq_set_nested_thread(irq, 1); activate_irq(irq); } |