commit | 4e83ac4cfbde6b300f31f9460b96c67664a792ce | [log] [tgz] |
---|---|---|
author | Fenglin Wu <fenglinw@codeaurora.org> | Wed Jul 19 14:39:55 2017 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Aug 31 13:59:15 2017 +0200 |
tree | af39129831c92e21770153ed87be6f1ce9e76fcb | |
parent | ae9d7f83a58d94380a05efd796da0373bcb9fb04 [diff] |
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>