Re: [PATCH V2] pinctrl: qcom: spmi-gpio: Correct power_source range check

2017-08-31 Thread Linus Walleij
On Mon, Aug 28, 2017 at 5:00 AM, wrote: > From: Fenglin Wu > > 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 > Acked-by: Bjorn Andersson I already applied a version of th

[PATCH V2] pinctrl: qcom: spmi-gpio: Correct power_source range check

2017-08-27 Thread fenglinw
From: Fenglin Wu 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 Acked-by: Bjorn Andersson --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 d