Skip to content

Commit

Permalink
power: bq24190_charger: install irq handler with IRQF_TRIGGER_FALLING
Browse files Browse the repository at this point in the history
  • Loading branch information
networkimprov authored Nov 30, 2016
1 parent 042af75 commit 2644f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/power/bq24190_charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 2644f6e

Please sign in to comment.