]> www.infradead.org Git - users/willy/pagecache.git/commit
gpiolib: switch the line state notifier to atomic
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 18 Oct 2024 09:10:15 +0000 (11:10 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 22 Oct 2024 06:59:09 +0000 (08:59 +0200)
commitfcc8b637c542d1a0c19e5797ad72f9258e10464c
tree6af53843e4b495dcbf5347fd078269ccc8066745
parent40b7c49950bd56c984b1f6722f865b922879260e
gpiolib: switch the line state notifier to atomic

With everything else ready, we can now switch to using the atomic
notifier for line state events which will allow us to notify user-space
about direction changes from atomic context.

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