diff options
author | 2019-02-13 20:36:41 -0500 | |
---|---|---|
committer | 2019-02-14 10:03:04 +0100 | |
commit | 79890c2ec4860c3b715f89248c51abcc76a1fa39 (patch) | |
tree | d90d8d1e9198ba847a0415253cf7a5071f782d4b /drivers/gpio/gpio-davinci.c | |
parent | mfd: pm8xxx: select IRQ_DOMAIN_HIERARCHY in Kconfig (diff) | |
download | linux-dev-79890c2ec4860c3b715f89248c51abcc76a1fa39.tar.xz linux-dev-79890c2ec4860c3b715f89248c51abcc76a1fa39.zip |
qcom: ssbi-gpio: correct boundary conditions in pm8xxx_domain_translate
SSBI GPIOs are numbered 1..ngpio, so the boundary check in
pm8xxx_domain_translate() is off by one. This patch corrects that check.
Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-davinci.c')
0 files changed, 0 insertions, 0 deletions