greybus: gpio: don't call irq-flow handler directly

Use generic_handle_irq_desc rather than call a hardcoded irq-flow
handler directly.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Johan Hovold 2015-05-26 15:29:21 +02:00 committed by Greg Kroah-Hartman
parent b8e3ffebac
commit 2611ebef83

View file

@ -314,9 +314,8 @@ static int gb_gpio_request_recv(u8 type, struct gb_operation *op)
return -EINVAL;
}
/* Dispatch interrupt */
local_irq_disable();
handle_simple_irq(irq, desc);
generic_handle_irq_desc(irq, desc);
local_irq_enable();
return 0;