aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2023-08-17 15:18:58 +0200
committerBartosz Golaszewski <[email protected]>2023-08-21 15:57:05 +0200
commita0dda508bd66b9eeeedc6fe0597aa8613f4b3c5d (patch)
tree97e1cdb3c5cb467a4ffbd58a395d7044cd57aa25 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentd2e2586a3292e05d4872e9111e8b005bc4ff4d09 (diff)
gpio: cdev: wake up linereq poll() on device unbind
Add a notifier block to the linereq structure and register it with the gpio_device's device notifier. Upon reception of an event, wake up the wait queue so that the user-space be forced out of poll() and need to go into a new system call which will then fail due to the chip being gone. Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Reviewed-by: Kent Gibson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions