Re: [PATCH] gpiolib: Propagate emulated drive errors when setting arrays

From: Bartosz Golaszewski

Date: Thu Oct 22 2026 - 04:21:27 EST



On Wed, 21 Oct 2026 02:26:01 +0900, Baek Kyu, Kim wrote:
> gpiod_set_array_value_complex() ignores errors from the open-drain and
> open-source emulation helpers. If a direction change fails,
> GPIO_V2_LINE_SET_VALUES_IOCTL still reports success, including when
> updating a single line.
>
> Return the first emulation error after freeing the temporary bitmaps.
> Keep updates already made to earlier lines and stop processing the
> remaining lines, as for errors from gpiochip_set_multiple().
>
> [...]

Applied, thanks!

[1/1] gpiolib: Propagate emulated drive errors when setting arrays
https://git.kernel.org/brgl/c/15665047024e30f9c2227563d03034061c99ac2c

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>