Skip to content

Commit 5abeba6

Browse files
committed
Merge tag 'regulator-fix-v7.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
Pull regulator fixes from Mark Brown: "A couple of small, driver specific fixes which might not even have much impact if you have the affected devices depending on your setup" * tag 'regulator-fix-v7.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: regulator: pf9453: Respect IRQ trigger settings from firmware regulator: mt6363: Fix incorrect and redundant IRQ disposal in probe
2 parents d249037 + 2d85ecd commit 5abeba6

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

drivers/regulator/mt6363-regulator.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -899,10 +899,8 @@ static int mt6363_regulator_probe(struct platform_device *pdev)
899899
"Failed to map IRQ%d\n", info->hwirq);
900900

901901
ret = devm_add_action_or_reset(dev, mt6363_irq_remove, &info->virq);
902-
if (ret) {
903-
irq_dispose_mapping(info->hwirq);
902+
if (ret)
904903
return ret;
905-
}
906904

907905
config.driver_data = info;
908906
INIT_DELAYED_WORK(&info->oc_work, mt6363_oc_irq_enable_work);

drivers/regulator/pf9453-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ static int pf9453_i2c_probe(struct i2c_client *i2c)
809809
}
810810

811811
ret = devm_request_threaded_irq(pf9453->dev, pf9453->irq, NULL, pf9453_irq_handler,
812-
(IRQF_TRIGGER_FALLING | IRQF_ONESHOT),
812+
IRQF_ONESHOT,
813813
"pf9453-irq", pf9453);
814814
if (ret)
815815
return dev_err_probe(pf9453->dev, ret, "Failed to request IRQ: %d\n", pf9453->irq);

0 commit comments

Comments
 (0)