Skip to content

iio: hx711: add buffered trigger support

Andreas Klinger linux-iio lkml 4 versions – In review

Get series with b4
b4 am 20171213170905.GA25179@arbeit

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v32 patches 3 repliesSuperseded
  3. v22 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches0 repliesSuperseded

Changes in v4 from the cover letter

thanks to the review of Jonathan, some issues were fixed:
- fixed error handling in hx711_probe()
- triggered-buffer cannot be allocated as managed device

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: hx711: add triggered buffer supportdrivers/iio/adc/Kconfig drivers/iio/adc/hx711.c+100 -231 reply
2/2iio: hx711: fix bug in reset functionalitydrivers/iio/adc/hx711.c+6 -71 reply

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/2] iio: hx711: add buffered trigger support

changes in v4:
thanks to the review of Jonathan, some issues were fixed:
- fixed error handling in hx711_probe()
- triggered-buffer cannot be allocated as managed device

changes in v3:
thanks to the review of Jonathan, some issues were fixed:
- locking in hx711_reset_read()
- data positioning in trigger handler

changes in v2:
- in Kconfig it's needed to select IIO_BUFFER and IIO_TRIGGERED_BUFFER to compile cleanly with buffered triggers

This small patch series adds:
- support for buffered triggers
- fixes a bug in the reset functionality

Andreas Klinger (2):
iio: hx711: add triggered buffer support
iio: hx711: fix bug in reset functionality

 drivers/iio/adc/Kconfig |   2 +
 drivers/iio/adc/hx711.c | 134 +++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 106 insertions(+), 30 deletions(-)
Signature · 4 lines
2.1.4


--