Home
last modified time | relevance | path

Searched hist:"4 e83ac4c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pinctrl/qcom/
H A Dpinctrl-spmi-gpio.c4e83ac4c Wed Jul 19 01:39:55 CDT 2017 Fenglin Wu <fenglinw@codeaurora.org> pinctrl: qcom: spmi-gpio: Correct power_source range check

Power source selection in DIG_VIN_CTL is indexed from 0, in the range
check it shouldn't be equal to the total number of power sources.

Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
4e83ac4c Wed Jul 19 01:39:55 CDT 2017 Fenglin Wu <fenglinw@codeaurora.org> pinctrl: qcom: spmi-gpio: Correct power_source range check

Power source selection in DIG_VIN_CTL is indexed from 0, in the range
check it shouldn't be equal to the total number of power sources.

Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>