summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorIvan T. Ivanov <ivan.ivanov@linaro.org>2015-04-09 18:18:36 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-04-28 14:51:45 +0200
commit24a66618d63548e1012bf65ed30a3c031f410ca2 (patch)
tree57b8dc804e41f821fe51fb1ac45b287e397f0dab /drivers/gpio
parent982df6aec06479c844f46f7a5cc960151f8fc005 (diff)
downloadlwn-24a66618d63548e1012bf65ed30a3c031f410ca2.tar.gz
lwn-24a66618d63548e1012bf65ed30a3c031f410ca2.zip
pinctrl: qcom-spmi-gpio: Fix input value report
Read input buffer when input is enabled, not when it is disabled. Also fix interpretation of the pmic_gpio_read() return code, negative value means an error. Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions