From df4dbcc88ee24bb7094e7c206bf72d2e6be6769b Mon Sep 17 00:00:00 2001 From: Nicholas Krause Date: Tue, 16 Aug 2016 13:41:41 -0400 Subject: [PATCH] gpio:Verifty Shared IRQ bit being set incorrectly Signed-off-by: Nicholas Krause --- drivers/gpio/gpiolib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 53ff25a..39834a6 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -758,6 +758,7 @@ static int lineevent_create(struct gpio_device *gdev, void __user *ip) irqflags |= IRQF_TRIGGER_RISING; if (eflags & GPIOEVENT_REQUEST_FALLING_EDGE) irqflags |= IRQF_TRIGGER_FALLING; + printk_ratelimited(KERN_CRIT, "This was reached"); irqflags |= IRQF_ONESHOT; irqflags |= IRQF_SHARED; -- 2.7.4