Re: [PATCH] gpiolib: fix inverted trace values in gpiod_get_array_value()
From: Bartosz Golaszewski
Date: Wed Nov 25 2026 - 08:23:51 EST
On Fri, 20 Nov 2026 14:02:08 +0100, Jan Schär wrote:
> Almost all trace_gpio_value() calls report the raw value.
> gpiod_get_array_value_complex() is the only exception; it reports
> the logical value in traces unless the caller requests raw values.
> This inconsistency makes GPIO traces confusing.
>
> Move the trace call earlier, where the value is still raw.
> Now, all GPIO traces consistently report raw values.
>
> [...]
Applied, thanks!
[1/1] gpiolib: fix inverted trace values in gpiod_get_array_value()
https://git.kernel.org/brgl/c/601acadb79b62ee52edbd29ec69d8f677dc32dcd
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>