first patch is bug fix (reading/writing of event values, apply shift), could be backported to -stable (when the ad799x driver was still in stable) incorporating comments by Lars-Peter and Jonathan regarding patch description Peter Meerwald (13): iio:adc:ad799x: Fix reading and writing of event values, apply shift iio:adc:ad799x: Fix ad799x_chip_info kerneldoc iio:adc:ad799x: Drop I2C access helper functions iio:adc:ad799x: Save some lines in ad7997_8_update_scan_mode() exit handling iio:adc:ad799x: Use BIT() and GENMASK() iio:adc:ad799x: Only expose event interface when IRQ is available iio:adc:ad799x: Make chan_spec const in ad799x_chip_config struct iio:adc:ad799x: Check range when writing event value iio:adc:ad799x: Add helper function to read/write config register iio:adc:ad799x: Write default config on probe and reset alert status on probe iio:adc:ad799x: Set conversion channels and rename ad7997_8_update_scan_mode() iio:adc:ad799x: Return more meaningful event enabled state iio:adc:ad799x: Allow to write event config drivers/iio/adc/ad799x.c | 510 ++++++++++++++++++++++++++++------------------- 1 file changed, 307 insertions(+), 203 deletions(-) -- 1.9.1 -- 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