unable to register with threaded IRA handler unless ONESHOT flag is specified
Bug
1307664
Change-Id: I759d742e7c4dce41b35c82d2f80a9a73e5f1ae5e
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/250514
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
}
ret = request_threaded_irq(bq2419x->irq, NULL,
- bq2419x_irq, IRQF_TRIGGER_FALLING,
+ bq2419x_irq, IRQF_ONESHOT | IRQF_TRIGGER_FALLING,
dev_name(bq2419x->dev), bq2419x);
if (ret < 0) {
dev_err(bq2419x->dev, "request IRQ %d fail, err = %d\n",