I get the following in patch mode that I don't get in context mode:

diff -u -p a/drivers/power/supply/tps65090-charger.c
b/drivers/power/supply/tps\
65090-charger.c
--- a/drivers/power/supply/tps65090-charger.c
+++ b/drivers/power/supply/tps65090-charger.c
@@ -311,7 +311,8 @@ static int tps65090_charger_probe(struct

        if (irq != -ENXIO) {
                ret = devm_request_threaded_irq(&pdev->dev, irq, NULL,
-                       tps65090_charger_isr, 0, "tps65090-charger", cdata);
+                       tps65090_charger_isr, IRQF_ONESHOT,
+                       "tps65090-charger", cdata);
                if (ret) {
                        dev_err(cdata->dev,
                                "Unable to register irq %d err %d\n", irq,


julia

Reply via email to