summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaurabh Sengar <saurabh.truth@gmail.com>2015-11-25 19:01:11 +0100
committerChanwoo Choi <cw00.choi@samsung.com>2015-11-27 02:42:00 +0100
commit5f01e6bc3336c27b9553494214f05ac439dbeb37 (patch)
tree677630d7b22a5521d7bad002cea128319a3fa789
parentextcon: arizona: Update naming for micd-timeout DT to include units (diff)
downloadlinux-5f01e6bc3336c27b9553494214f05ac439dbeb37.tar.xz
linux-5f01e6bc3336c27b9553494214f05ac439dbeb37.zip
extcon: rt8973: Add IRQF_ONESHOT to interrupt flags
This patch adds IRQF_ONESHOT if no primary handler is provided for request threaded irq. Signed-off-by: Saurabh Sengar <saurabh.truth@gmail.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
-rw-r--r--drivers/extcon/extcon-rt8973a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-rt8973a.c b/drivers/extcon/extcon-rt8973a.c
index 36bf1d63791c..e1bb82809bef 100644
--- a/drivers/extcon/extcon-rt8973a.c
+++ b/drivers/extcon/extcon-rt8973a.c
@@ -603,7 +603,7 @@ static int rt8973a_muic_i2c_probe(struct i2c_client *i2c,
ret = devm_request_threaded_irq(info->dev, virq, NULL,
rt8973a_muic_irq_handler,
- IRQF_NO_SUSPEND,
+ IRQF_NO_SUSPEND | IRQF_ONESHOT,
muic_irq->name, info);
if (ret) {
dev_err(info->dev,