diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 5239230ad07584db5c1d7f7c38711258264cedf0..c826844abdebe91ea39b3c75a88d060f207b38f0 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -674,6 +674,8 @@ irqreturn_t lineevent_irq_thread(int irq, void *p) } else if (le->eflags & GPIOEVENT_REQUEST_FALLING_EDGE) { /* Emit high-to-low event */ ge.id = GPIOEVENT_EVENT_FALLING_EDGE; + } else { + return IRQ_NONE; } ret = kfifo_put(&le->events, ge);