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:
parent
b8e3ffebac
commit
2611ebef83
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue