[PATCH 1/2] gpio: have gpio_chip::set return an error code

Sascha Hauer s.hauer at pengutronix.de
Mon Apr 13 07:56:47 PDT 2026


On Mon, 23 Mar 2026 09:58:29 +0100, Ahmad Fatoum wrote:
> Since Linux v6.17, the .set operation for GPIO controllers return a
> signed integer to be able to indicate errors.
> 
> Align barebox with this new API and return error codes where immediately
> obvious.
> 
> 
> [...]

Applied, thanks!

[1/2] gpio: have gpio_chip::set return an error code
      https://git.pengutronix.de/cgit/barebox/commit/?id=6f6c0c601f70 (link may not be stable)
[2/2] gpiolib: propagate errors from gpiod_set_(raw_)?value
      https://git.pengutronix.de/cgit/barebox/commit/?id=e1c863835dfb (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list