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

From: Andreas Klinger
Date: Wed Dec 13 2017 - 12:09:39 EST


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(-)

--
2.1.4


--