This series contains some fixes and cleanups, and a threshold event support for ti-ads1015 driver. The first six patches are bug fixes, next four are cleanups, and the last one adds support threshold event. Changes from v1 - Split the patch "enable conversion when CONFIG_PM is not set" into a pure fix and a cleanup - Add new patch "don't return invalid value from buffer setup callbacks" - Add new patch "add adequate wait time to get correct conversion" - Support traditional comparator mode in addition to window comparator mode, add a comment for default threshold settings, and allow setting the state that has already been set in threshold event support patch Akinobu Mita (11): iio: adc: ti-ads1015: fix incorrect data rate setting update iio: adc: ti-ads1015: fix scale information for ADS1115 iio: adc: ti-ads1015: enable conversion when CONFIG_PM is not set iio: adc: ti-ads1015: avoid getting stale result after runtime resume iio: adc: ti-ads1015: don't return invalid value from buffer setup callbacks iio: adc: ti-ads1015: add adequate wait time to get correct conversion iio: adc: ti-ads1015: remove unnecessary config register update iio: adc: ti-ads1015: add helper to set conversion mode iio: adc: ti-ads1015: use devm_iio_triggered_buffer_setup iio: adc: ti-ads1015: use iio_device_claim_direct_mode() iio: adc: ti-ads1015: add threshold event support drivers/iio/adc/ti-ads1015.c | 592 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 498 insertions(+), 94 deletions(-) Cc: Daniel Baluta <daniel.baluta@xxxxxxxxx> Cc: Jonathan Cameron <jic23@xxxxxxxxxx> -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html