Re: [PATCH 1/2] gpiolib: Fix missing updates of bitmap index

From: Linus Walleij
Date: Mon Sep 24 2018 - 04:11:41 EST


On Mon, Sep 24, 2018 at 1:52 AM Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx> wrote:

> In new code introduced by commit b17566a6b08b ("gpiolib: Implement fast
> processing path in get/set array"), bitmap index is not updated with
> next found zero bit position as it should while skipping over pins
> already processed via fast bitmap path, possibly resulting in an
> infinite loop. Fix it.
>
> Signed-off-by: Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx>

Patch applied!

Thanks for working on getting this into shape!

Yours,
Linus Walleij