summaryrefslogtreecommitdiffstats
path: root/drivers/power/lp8727_charger.c
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2012-08-23 13:42:29 +0200
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-09-21 00:39:14 +0200
commit7c577c0d1ebed58648afb26e7c03f023fa82098e (patch)
tree6e19e7ee8f201ededa92574851fe685cbcffba73 /drivers/power/lp8727_charger.c
parent88pm860x_battery and charger: Fix a few post-merge issues (diff)
downloadlinux-7c577c0d1ebed58648afb26e7c03f023fa82098e.tar.xz
linux-7c577c0d1ebed58648afb26e7c03f023fa82098e.zip
lp8727_charger: Use IRQF_ONESHOT
Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT 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: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power/lp8727_charger.c')
-rw-r--r--drivers/power/lp8727_charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c
index 4e37b269ac95..5c56d7e46993 100644
--- a/drivers/power/lp8727_charger.c
+++ b/drivers/power/lp8727_charger.c
@@ -255,7 +255,7 @@ static int lp8727_intr_config(struct lp8727_chg *pchg)
return request_threaded_irq(pchg->client->irq,
NULL,
lp8727_isr_func,
- IRQF_TRIGGER_FALLING,
+ IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
"lp8727_irq",
pchg);
}