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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

The problem was reported by Gerrit Wyen <ml@xxxxxxxxxxxx>, 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




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux