Commit 2611ebef authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

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: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent b8e3ffeb
......@@ -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;
......
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