Re: [PATCH v4 2/4] iio: vcnl4000: Add event support for VCNL4010/20.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Andy,

>> +               ret = devm_request_threaded_irq(&client->dev, client->irq,
>> +                                               NULL, vcnl4010_irq_thread,
>> +                                               IRQF_TRIGGER_FALLING |
>
>> +                                               IRQF_ONESHOT,
>
> Isn't it by default when threaded IRQ is asked with NULL for hw handler?

No, and it fails with this error message if IRQF_ONESHOT is not set:

pr_err("Threaded irq requested with handler=NULL and !ONESHOT for %s (irq %d)\n",

Thanks,

Mathieu



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux