Web lists-archives.com

[PATCH v3 0/2] iio: hx711: add buffered trigger support

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 | 117 +++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 94 insertions(+), 25 deletions(-)