Skip to content

Commit

Permalink
Input: revert "gpio_keys - switch to using threaded IRQs"
Browse files Browse the repository at this point in the history
request_any_context_irq() should handle the case when using GPIO expanders
that themselves use threaded IRQs, and so the premise of change
7e2ecdf is incorrect.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
David Jander authored and Dmitry Torokhov committed Mar 20, 2012
1 parent d908092 commit 6709c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/keyboard/gpio_keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6709c9a

Please sign in to comment.