summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-rt8973a.c
diff options
context:
space:
mode:
authorSaurabh Sengar <saurabh.truth@gmail.com>2015-11-25 23:31:11 +0530
committerChanwoo Choi <cw00.choi@samsung.com>2015-11-27 10:42:00 +0900
commit5f01e6bc3336c27b9553494214f05ac439dbeb37 (patch)
tree677630d7b22a5521d7bad002cea128319a3fa789 /drivers/extcon/extcon-rt8973a.c
parent7a7ef0f2a4b359d0206772bf291781157d07f7dc (diff)
downloadtalos-obmc-linux-5f01e6bc3336c27b9553494214f05ac439dbeb37.tar.gz
talos-obmc-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>
Diffstat (limited to 'drivers/extcon/extcon-rt8973a.c')
-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,
OpenPOWER on IntegriCloud