Commit 6709c9a5 authored by David Jander's avatar David Jander Committed by Dmitry Torokhov

Input: revert "gpio_keys - switch to using threaded IRQs"

request_any_context_irq() should handle the case when using GPIO expanders
that themselves use threaded IRQs, and so the premise of change
7e2ecdf4 is incorrect.
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent d9080921
...@@ -421,7 +421,7 @@ static int __devinit gpio_keys_setup_key(struct platform_device *pdev, ...@@ -421,7 +421,7 @@ static int __devinit gpio_keys_setup_key(struct platform_device *pdev,
if (!button->can_disable) if (!button->can_disable)
irqflags |= IRQF_SHARED; 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) { if (error < 0) {
dev_err(dev, "Unable to claim irq %d; error %d\n", dev_err(dev, "Unable to claim irq %d; error %d\n",
irq, error); irq, error);
......
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