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

From: Linus Walleij
Date: Thu Aug 31 2017 - 08:00:15 EST


On Wed, Jul 19, 2017 at 8:39 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>

Patch applied with BjÃrn's ACK.

Yours,
Linus Walleij