diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-09-22 12:51:24 +0300 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-09-26 15:15:38 +0300 |
commit | 0ae3109a839192920f09338e9abc4d5321107865 (patch) | |
tree | 26b0bc8c7d79a2dc4f3edf81d0ae1077972fb851 /arch/arm/mm/proc-v7-bugs.c | |
parent | 361c1ca384c93013e08bd117e4fe23ca9739e3f7 (diff) | |
download | linux-0ae3109a839192920f09338e9abc4d5321107865.tar.xz |
gpiolib: cdev: add fdinfo output for line request file descriptors
Add fdinfo output for file descriptors created for user-space line
requests in GPIO uAPI v2. The fdinfo file now contains the name of the
GPIO chip that is the "parent" of the request as well as offsets of
the lines requested. This allows user-space to parse the /proc/$PID/fdinfo
entries and deduce the PID of the process that requested a specific line.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: Kent Gibson <warthog618@gmail.com>
Diffstat (limited to 'arch/arm/mm/proc-v7-bugs.c')
0 files changed, 0 insertions, 0 deletions