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

2018-09-24 Thread Linus Walleij
On Mon, Sep 24, 2018 at 1:52 AM Janusz Krzysztofik 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

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

2018-09-23 Thread Janusz Krzysztofik
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.