Searched hist:"24 a66618" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pinctrl/qcom/ |
H A D | pinctrl-spmi-gpio.c | 24a66618 Thu Apr 09 10:18:36 CDT 2015 Ivan T. Ivanov <ivan.ivanov@linaro.org> 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> 24a66618 Thu Apr 09 10:18:36 CDT 2015 Ivan T. Ivanov <ivan.ivanov@linaro.org> 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>
|