iio: adc: cpcap-adc: Fix missing IRQF_ONESHOT as only threaded handler.
Coccinelle noticed: CHECK drivers/iio/adc/cpcap-adc.c drivers/iio/adc/cpcap-adc.c:1009:9-34: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT As far as I can see this is a simple case of it should be specified but isn't. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Acked-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
5f401ef092
commit
0e64375382
@ -1008,7 +1008,7 @@ static int cpcap_adc_probe(struct platform_device *pdev)
|
|||||||
|
|
||||||
error = devm_request_threaded_irq(&pdev->dev, ddata->irq, NULL,
|
error = devm_request_threaded_irq(&pdev->dev, ddata->irq, NULL,
|
||||||
cpcap_adc_irq_thread,
|
cpcap_adc_irq_thread,
|
||||||
IRQF_TRIGGER_NONE,
|
IRQF_TRIGGER_NONE | IRQF_ONESHOT,
|
||||||
"cpcap-adc", indio_dev);
|
"cpcap-adc", indio_dev);
|
||||||
if (error) {
|
if (error) {
|
||||||
dev_err(&pdev->dev, "could not get irq: %i\n",
|
dev_err(&pdev->dev, "could not get irq: %i\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user