Commit 6c546e46 authored by Michel Arruat's avatar Michel Arruat

driver: IRQF_ONESHOT flag must be used for threaded IRQ

Signed-off-by: Michel Arruat's avatarMichel Arruat <michel.arruat@cern.ch>
parent ce9ba31d
......@@ -640,7 +640,7 @@ static int gn412x_gpio_probe(struct platform_device *pdev)
err = request_threaded_irq(platform_get_irq(pdev, 0),
gn412x_gpio_irq_handler_h,
gn412x_gpio_irq_handler_t,
IRQF_SHARED,
IRQF_SHARED | IRQF_ONESHOT,
dev_name(gn412x->gpiochip.dev),
gn412x);
if (err) {
......@@ -649,7 +649,7 @@ static int gn412x_gpio_probe(struct platform_device *pdev)
err = request_threaded_irq(platform_get_irq(pdev, 0),
gn412x_gpio_irq_handler_h,
gn412x_gpio_irq_handler_t,
IRQF_SHARED,
IRQF_SHARED | IRQF_ONESHOT,
dev_name(gn412x->gpiochip.parent),
gn412x);
if (err) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment