On Monday, October 2, 2023 9:42:52 AM CEST Bartosz Golaszewski wrote: > This changes the way this code works. You release the descriptor here, > it returns to the driver and can be re-requested by someone else. Its > value is also not guaranteed to remain as "active". Is this what you > want? Good point. Is it enough to not call gpiod_put() at the end or is it necessary to use a static gpio_desc instead of a local one? Regards, Duje