Re: [PATCH V2] pinctrl: qcom: spmi-gpio: Correct power_source range check
From: Linus Walleij
Date: Thu Aug 31 2017 - 09:49:33 EST
On Mon, Aug 28, 2017 at 5:00 AM, <fenglinw@xxxxxxxxxxxxxx> wrote:
> From: Fenglin Wu <fenglinw@xxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxx>
> Acked-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
I already applied a version of this.
Yours,
Linus Walleij