diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2019-02-12 06:52:05 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-02-13 11:18:49 +0300 |
commit | dac7da986ba39e9ff6b078ae15b561c4929edec1 (patch) | |
tree | 621fc7d83495ba80d0ba47a65fc7a8bfff909c93 /drivers/gpio | |
parent | a44aec0b4a63725c2601db4257d204a757198817 (diff) | |
download | linux-dac7da986ba39e9ff6b078ae15b561c4929edec1.tar.xz |
qcom: spmi-gpio: Fix boundary conditions IRQ domain translate
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@linaro.org>
Reviewed-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions