From 329d045851f01756438a8ae51cc9ad5cb6591ecd Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=BC=A0=E6=99=B4?= Date: Wed, 14 Jan 2015 11:44:20 +0800 Subject: [PATCH] rk312x:pmic:rt5036:slove rt5036 irq locked MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: 张晴 --- drivers/mfd/rt5036-irq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 drivers/mfd/rt5036-irq.c diff --git a/drivers/mfd/rt5036-irq.c b/drivers/mfd/rt5036-irq.c old mode 100755 new mode 100644 index 68df9af134a2..e9b71c669719 --- a/drivers/mfd/rt5036-irq.c +++ b/drivers/mfd/rt5036-irq.c @@ -167,9 +167,9 @@ static int rt5036_irq_probe(struct platform_device *pdev) platform_set_drvdata(pdev, ii); if (ii->irq >= 0) { - if (devm_request_irq - (&pdev->dev, ii->irq, rt5036_irq_handler, - IRQF_TRIGGER_FALLING | IRQF_NO_SUSPEND | IRQF_DISABLED, + if (devm_request_threaded_irq + (&pdev->dev, ii->irq, NULL,rt5036_irq_handler, + IRQF_TRIGGER_FALLING | IRQF_NO_SUSPEND | IRQF_ONESHOT, "rt5036_irq", ii)) { dev_err(&pdev->dev, "request threaded irq fail\n"); goto out_dev; -- 2.34.1