diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2012-11-28 04:39:01 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2013-01-15 07:42:15 +0100 |
commit | ae3b3215f8e16ee8234024c77787bac9befb4f4c (patch) | |
tree | 498fc6e684d2d85e20a5a538c0f338192b877f9d /drivers/extcon/extcon-max8997.c | |
parent | extcon: max77693: Check the state/type of cable after boot completed (diff) | |
download | linux-ae3b3215f8e16ee8234024c77787bac9befb4f4c.tar.xz linux-ae3b3215f8e16ee8234024c77787bac9befb4f4c.zip |
extcon: max8997/max77693: Support IRQF_NO_SUSPEND flag for interrupt
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-max8997.c')
-rw-r--r-- | drivers/extcon/extcon-max8997.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c index 93009fe6ef05..df9358e30814 100644 --- a/drivers/extcon/extcon-max8997.c +++ b/drivers/extcon/extcon-max8997.c @@ -459,8 +459,10 @@ static int max8997_muic_probe(struct platform_device *pdev) } muic_irq->virq = virq; - ret = request_threaded_irq(virq, NULL, max8997_muic_irq_handler, - 0, muic_irq->name, info); + ret = request_threaded_irq(virq, NULL, + max8997_muic_irq_handler, + IRQF_NO_SUSPEND, + muic_irq->name, info); if (ret) { dev_err(&pdev->dev, "failed: irq request (IRQ: %d," |