Re: [PATCH V2] spmi: pmic-arb: Move the ownership check to irq_chip callback

From: Shawn Guo
Date: Thu Aug 24 2017 - 08:15:49 EST


On Wed, Aug 23, 2017 at 06:16:26PM +0530, Kiran Gunda wrote:
> 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 <kgunda@xxxxxxxxxxxxxx>

It fixes qcom-spmi-gpio driver probe failure introduced by the series
below.

[PATCH V2 00/12]: spmi: pmic-arb: Support for HW v5 and other fixes

FWIW, Tested-by: Shawn Guo <shawnguo@xxxxxxxxxx>