Re: [PATCH] gpio: pcie-idio-24: Fix off-by-one error in get_multiple loop

From: Linus Walleij
Date: Mon Apr 30 2018 - 04:49:26 EST


On Fri, Apr 20, 2018 at 3:50 PM, William Breathitt Gray
<vilhelm.gray@xxxxxxxxx> wrote:

> The PCIe-IDIO-24 features 8 bits of TTL GPIO which may be configured for
> output or input. This patch fixes an off-by-one error in the loop
> conditional for the get_multiple callback so that the TTL GPIO are
> handled.
>
> Fixes: ca37081595a2 ("gpio: pcie-idio-24: Implement get_multiple/set_multiple callbacks")
> Signed-off-by: William Breathitt Gray <vilhelm.gray@xxxxxxxxx>

Patch applied for fixes.

Yours,
Linus Walleij