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 <firstname.lastname@example.org>
Tested-by: Shawn Guo <email@example.com>
Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>