Skip to content

staging:iio: Event handling updates

Lars-Peter Clausen linux-iio 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/26 patches 2 repliesIn review
  2. v2 posting 1/26 patches 7 repliesSuperseded
  3. v16 patches 0 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6staging:iio: Update iio_event_interface documentationdrivers/staging/iio/industrialio-core.c+2 -12 replies
2/6staging:iio: Factor out event handling into its own filedrivers/staging/iio/Makefile drivers/staging/iio/iio_core.h drivers/staging/iio/industrialio-core.c +1 more+488 -4600 replies
3/6staging:iio:events: Use kfifo for event queuedrivers/staging/iio/industrialio-event.c+21 -640 replies
4/6staging:iio:events: Use waitqueue lock to protect event queuedrivers/staging/iio/industrialio-event.c+18 -260 replies
5/6staging:iio:events: Use non-atomic bitopsdrivers/staging/iio/industrialio-event.c+3 -30 replies
6/6staging:iio:events: Add poll supportdrivers/staging/iio/industrialio-event.c+22 -10 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchJonathan Cameron
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] staging:iio: Event handling updates

Hi Greg,

This series is a resend of the same series form early January, with two minor issues in patch 4 and 5 being fixed. Also the order of patch 5 and 6 in the series has been changed.

The series starts with fixing some documentation issues for the iio_event_interface struct. The second patch moves the IIO event handling code from the IIO core file to its own file with the next patches containing some cleanups to the event handling code. The last patch implements poll support for IIO event handling fds.

- Lars

Lars-Peter Clausen (6):
staging:iio: Update iio_event_interface documentation staging:iio: Factor out event handling into its own file staging:iio:events: Use kfifo for event queue staging:iio:events: Use waitqueue lock to protect event queue staging:iio:events: Use non-atomic bitops staging:iio:events: Add poll support

 drivers/staging/iio/Makefile             |    2 +-
 drivers/staging/iio/iio_core.h           |    4 +
 drivers/staging/iio/industrialio-core.c  |  458 ------------------------------
 drivers/staging/iio/industrialio-event.c |  453 +++++++++++++++++++++++++++++
 4 files changed, 458 insertions(+), 459 deletions(-)
 create mode 100644 drivers/staging/iio/industrialio-event.c
Signature · 1 line
1.7.8.3