core: fix gpiod_line_get_value_bulk for events
authorKent Gibson <warthog618@gmail.com>
Wed, 17 Jun 2020 03:06:39 +0000 (11:06 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 17 Jun 2020 12:29:01 +0000 (14:29 +0200)
commitb56d6b6a452e47fee8c70514afb99ccd77ada677
tree298f2380d6cfca7c613a35ba7ddc238500ae91ca
parent142797f113a6157fcb8f11f034a6ef440f32ff8b
core: fix gpiod_line_get_value_bulk for events

Extend gpiod_line_get_value_bulk so that it works for bulks of
lineevents, not only linehandles.

Reported-by: Gerrit Wyen <ml@ionscale.com>
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
lib/core.c