mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
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
1 changed files with 1 additions and 2 deletions
|
@ -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