mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
rk312x:pmic:rt5036:slove rt5036 irq locked
Signed-off-by: 张晴 <zhangqing@rock-chips.com>
This commit is contained in:
parent
b7fb4e7c55
commit
329d045851
6
drivers/mfd/rt5036-irq.c
Executable file → Normal file
6
drivers/mfd/rt5036-irq.c
Executable file → Normal file
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user