Skip to content

fix get_values for events

Kent Gibson linux-gpio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bindings: cxx: tests: add tests for bulk events get_valuesbindings/cxx/tests/tests-event.cpp+35 -10 replies
2/3tests: event: add tests for gpiod_line_get_value_bulk eventstests/tests-event.c+110 -00 replies
3/3core: fix gpiod_line_get_value_bulk for eventslib/core.c+24 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [libgpiod][PATCH 0/3] fix get_values for events

This patch series fixes getting the values of a bulk of lineevents.

The problem was reported by Gerrit Wyen <[email protected]>, using the cxx bindings. The first patch adds test cases to confirm the reported behaviour with cxx. The second adds corresponding tests for the underlying gpiod_line_get_value_bulk with events. The third fixes gpiod_line_get_value_bulk so that it returns the correct values for a bulk of events.

Kent Gibson (3):
bindings: cxx: tests: add tests for bulk events get_values
tests: event: add tests for gpiod_line_get_value_bulk events
core: fix gpiod_line_get_value_bulk for events

 bindings/cxx/tests/tests-event.cpp |  36 +++++++++-
 lib/core.c                         |  33 ++++++---
 tests/tests-event.c                | 110 +++++++++++++++++++++++++++++
 3 files changed, 169 insertions(+), 10 deletions(-)

base-commit: 2efb0075a7779fa61bfe01c40aa97f7d23a8e528

Signature · 1 line
2.27.0