Re: [PATCH] gpiolib: clear the event clock flags when a line is released

From: Bartosz Golaszewski

Date: Mon Oct 19 2026 - 04:02:32 EST



On Mon, 12 Oct 2026 16:49:45 +0300, Adrian Ambrozewicz wrote:
> gpiod_free_commit() clears the flags that a request sets on a line, but
> not GPIOD_FLAG_EVENT_CLOCK_REALTIME and GPIOD_FLAG_EVENT_CLOCK_HTE,
> which gpio_v2_line_config_flags_to_desc_flags() sets from the uAPI v2
> line config. Once a line requested with
> GPIO_V2_LINE_FLAG_EVENT_CLOCK_REALTIME or
> GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE is released, GPIO_V2_GET_LINEINFO_IOCTL
> and the line info changed events, the "released" one included, keep
> reporting that event clock for the free line:
>
> [...]

Applied, thanks!

[1/1] gpiolib: clear the event clock flags when a line is released
https://git.kernel.org/brgl/c/d35f61581ee67f8d4d58c325bac813cea528b6b9

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