linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [libgpiod][PATCH 0/3] fix get_values for events
@ 2020-06-17  3:06 Kent Gibson
  2020-06-17  3:06 ` [PATCH 1/3] bindings: cxx: tests: add tests for bulk events get_values Kent Gibson
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kent Gibson @ 2020-06-17  3:06 UTC (permalink / raw)
  To: linux-gpio, bgolaszewski, ml; +Cc: Kent Gibson

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

The problem was reported by Gerrit Wyen <ml@ionscale.com>, 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
-- 
2.27.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-17 12:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-17  3:06 [libgpiod][PATCH 0/3] fix get_values for events Kent Gibson
2020-06-17  3:06 ` [PATCH 1/3] bindings: cxx: tests: add tests for bulk events get_values Kent Gibson
2020-06-17  3:06 ` [PATCH 2/3] tests: event: add tests for gpiod_line_get_value_bulk events Kent Gibson
2020-06-17  3:06 ` [PATCH 3/3] core: fix gpiod_line_get_value_bulk for events Kent Gibson
2020-06-17 12:45 ` [libgpiod][PATCH 0/3] fix get_values " Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).