Check the irq ownership in the irq_request_resources callback
instead of checking it during the irq mapping. This can prevent
installing the flow handler for the interrupt that is not owned by the EE
and allow the irq translation during the gpio driver probe.
Signed-off-by: Kiran Gunda <email@example.com>
Tested-by: Shawn Guo <firstname.lastname@example.org>
Signed-off-by: Greg Kroah-Hartman <email@example.com>