Re: [PATCH V1 3/3] pinctrl: qcom: spmi-gpio: Correct power_source range check

2017-07-12 Thread Fenglin Wu
On 7/13/2017 5:33 AM, Bjorn Andersson wrote: On Mon 12 Jun 23:16 PDT 2017, fengl...@codeaurora.org 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 Revi

Re: [PATCH V1 3/3] pinctrl: qcom: spmi-gpio: Correct power_source range check

2017-07-12 Thread Bjorn Andersson
On Mon 12 Jun 23:16 PDT 2017, fengl...@codeaurora.org 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 Reviewed-by: Bjorn Andersson This patch

Re: [PATCH V1 3/3] pinctrl: qcom: spmi-gpio: Correct power_source range check

2017-06-20 Thread Linus Walleij
On Tue, Jun 13, 2017 at 8:16 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 > --- > drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 +- > 1 f

[PATCH V1 3/3] pinctrl: qcom: spmi-gpio: Correct power_source range check

2017-06-12 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 --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dr