Re: [PATCH] qcom: spmi-gpio: Fix boundary conditions IRQ domain translate

From: Brian Masney
Date: Tue Feb 12 2019 - 05:08:16 EST


On Mon, Feb 11, 2019 at 07:52:05PM -0800, Bjorn Andersson wrote:
> GPIOs on the SPMI PMIC are numbered 1..ngpio, so the boundary check in
> pmic_gpio_domain_translate() is off by one, correct this.
>
> Fixes: ca69e2d165eb ("qcom: spmi-gpio: add support for hierarchical IRQ chip")
> Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>

Reviewed-by: Brian Masney <masneyb@xxxxxxxxxxxxx>