commit | 24a66618d63548e1012bf65ed30a3c031f410ca2 | [log] [tgz] |
---|---|---|
author | Ivan T. Ivanov <ivan.ivanov@linaro.org> | Thu Apr 09 18:18:36 2015 +0300 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Apr 28 14:51:45 2015 +0200 |
tree | 57b8dc804e41f821fe51fb1ac45b287e397f0dab | |
parent | 982df6aec06479c844f46f7a5cc960151f8fc005 [diff] |
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>