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

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;