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

Linus Walleij linus.walleij at linaro.org
Mon Sep 24 08:11:23 UTC 2018


On Mon, Sep 24, 2018 at 1:52 AM Janusz Krzysztofik <jmkrzyszt at gmail.com> 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 at gmail.com>

Patch applied!

Thanks for working on getting this into shape!

Yours,
Linus Walleij


More information about the devel mailing list