]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Input: revert "gpio_keys - switch to using threaded IRQs"
authorDavid Jander <david@protonic.nl>
Mon, 19 Mar 2012 06:36:29 +0000 (23:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 20 Mar 2012 00:56:04 +0000 (17:56 -0700)
request_any_context_irq() should handle the case when using GPIO expanders
that themselves use threaded IRQs, and so the premise of change
7e2ecdf438bb479e2b4667fc16b1a84d6348da04 is incorrect.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/gpio_keys.c

index 19887fc10282caec9cf5473b8f472611383d2051..6f067587cdf3c54b7e8376fba6ea41b2e5c2beb1 100644 (file)
@@ -421,7 +421,7 @@ static int __devinit gpio_keys_setup_key(struct platform_device *pdev,
        if (!button->can_disable)
                irqflags |= IRQF_SHARED;
 
-       error = request_threaded_irq(irq, NULL, gpio_keys_isr, irqflags, desc, bdata);
+       error = request_any_context_irq(irq, gpio_keys_isr, irqflags, desc, bdata);
        if (error < 0) {
                dev_err(dev, "Unable to claim irq %d; error %d\n",
                        irq, error);