[PATCH v8 02/12] gpio: fix wrong checking condition for gpio range
Linus Walleij
linus.walleij at linaro.org
Thu Feb 14 07:15:45 EST 2013
On Mon, Feb 11, 2013 at 6:10 PM, Haojian Zhuang
<haojian.zhuang at linaro.org> wrote:
> If index++ calculates from 0, the checking condition of "while
> (index++)" fails & it doesn't check any more. It doesn't follow
> the loop that used at here.
>
> Replace it by endless loop at here. Then it keeps parsing
> "gpio-ranges" property until it ends.
>
> Signed-off-by: Haojian Zhuang <haojian.zhuang at linaro.org>
> Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Grant can you pick this patch (and the other one, 01/12)?
I would stack them in my tree unless there was such deep-core
OF business involved, which makes me insecure.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list