From 2644f6e70ab92c9b70a64b38c95f73337f4f0946 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 29 Nov 2016 18:02:23 -0800 Subject: [PATCH] power: bq24190_charger: install irq handler with IRQF_TRIGGER_FALLING --- drivers/power/bq24190_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/bq24190_charger.c b/drivers/power/bq24190_charger.c index 3271f69bf9a9ed..cc7227a7251e72 100644 --- a/drivers/power/bq24190_charger.c +++ b/drivers/power/bq24190_charger.c @@ -1375,7 +1375,7 @@ static int bq24190_probe(struct i2c_client *client, irq_set_status_flags(bdi->irq, IRQ_NOAUTOEN); ret = devm_request_threaded_irq(dev, bdi->irq, NULL, bq24190_irq_handler_thread, - IRQF_TRIGGER_RISING | IRQF_ONESHOT, + IRQF_TRIGGER_FALLING | IRQF_ONESHOT, "bq24190-charger", bdi); if (ret < 0) { dev_err(dev, "Can't set up irq handler\n");