diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-05-09 16:08:13 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-05-13 16:25:20 +0200 |
commit | 9fefca775c8ddbbbcd97f2860218188b8641819d (patch) | |
tree | 51d479bcf51501a9aaf0cf5fe20f1194301ece13 /kernel/notifier.c | |
parent | 333830aa149a87cabeb5d30fbcf12eecc8040d2c (diff) |
gpiolib: notify user-space about line status changes after flags are set
Currently we emit the REQUESTED line state event after the line is
requested but before the flags are configured. This is obviously wrong
as we want to pass the updated lineinfo to user-space together with the
event.
Since the flags can be configured in different ways depending on how the
line is being requested - we need to call the notifier chain in different
places separately.
Fixes: 51c1064e82e7 ("gpiolib: add new ioctl() for monitoring changes in line info")
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'kernel/notifier.c')
0 files changed, 0 insertions, 0 deletions