]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpiolib: notify user-space when a driver requests its own desc
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 18 Oct 2024 09:10:09 +0000 (11:10 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 22 Oct 2024 06:59:08 +0000 (08:59 +0200)
commit49182c87af377ec4ae0a5e116a9059e03b083574
tree0424c6567bf2ab1c84f04de0a1d753707fca59dd
parent57e0e7188712dae39045e4004c7c7f9ce0a36193
gpiolib: notify user-space when a driver requests its own desc

We notify user-space about lines being requested from user-space or by
drivers calling gpiod_get() but not when drivers request their own lines
so add the missing call to gpiod_line_state_notify().

Reviewed-by: Kent Gibson <warthog618@gmail.com>
Link: https://lore.kernel.org/r/20241018-gpio-notify-in-kernel-events-v5-1-c79135e58a1c@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib.c