power: supply: Fix tps65217-charger vs vbus irq conflict
PATCH 1/2 power: supply: Fix tps65217-charger vs vbus irq conflict
Enabling the tps65217-charger driver/module causes an interrupt conflict with the vbus driver resulting in a probe failure.
The conflict is resolved by changing both driver's threaded interrupt request function from IRQF_ONESHOT to IRQF_SHARED.
Signed-off-by Grant B Adams <[email protected]>
--- drivers/power/supply/tps65217_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/supply/tps65217_charger.c +1 -1
@@ -238,7 +238,7 @@ static int tps65217_charger_probe(struct platform_device *pdev)for (i =0 ; i <NUM_CHARGER_IRQS ; i++) { ret =devm_request_threaded_irq (&pdev->dev, irq[i],NULL , tps65217_charger_irq, -IRQF_ONESHOT ,"tps65217-charger" , +IRQF_SHARED ,"tps65217-charger" , charger);if (ret) { dev_err(charger->dev,
Signature · 1 line
2.34.1