diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2012-09-19 09:32:38 +0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-19 12:13:37 +0200 |
commit | 09e09069f2564af7c2b1beac46e6e439d4ab61cf (patch) | |
tree | b6cf4044224ac616361298670723ceec7e5b0cbf /drivers/mfd/twl6040-core.c | |
parent | 5016498408de41bc4da5c79055c5698768916ec8 (diff) | |
download | lwn-09e09069f2564af7c2b1beac46e6e439d4ab61cf.tar.gz lwn-09e09069f2564af7c2b1beac46e6e439d4ab61cf.zip |
mfd: Use IRQF_ONESHOT for twl6040
Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci
Make sure threaded IRQs without a primary handler are always request
with IRQF_ONESHOT.
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/twl6040-core.c')
-rw-r--r-- | drivers/mfd/twl6040-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/twl6040-core.c b/drivers/mfd/twl6040-core.c index 3dca5c195a20..348e1de8e7c1 100644 --- a/drivers/mfd/twl6040-core.c +++ b/drivers/mfd/twl6040-core.c @@ -584,7 +584,7 @@ static int __devinit twl6040_probe(struct i2c_client *client, goto irq_init_err; ret = request_threaded_irq(twl6040->irq_base + TWL6040_IRQ_READY, - NULL, twl6040_naudint_handler, 0, + NULL, twl6040_naudint_handler, IRQF_ONESHOT, "twl6040_irq_ready", twl6040); if (ret) { dev_err(twl6040->dev, "READY IRQ request failed: %d\n", |