On 05/28/2015 06:57 AM, Chris Lesiak wrote:
The function ntc_adc_iio_read (now ntc_adc_iio_read_raw) assumes both a 12 bit ADC and that pullup_uv is the same as the ADC reference voltage. If either assumption is false, then the result is incorrect. For iio channels supporting either IIO_CHAN_INFO_PROCESSED or IIO_CHAN_INFO_SCALE, the new ntc_adc_iio_read will be used. It gets microvolts directly with a call to iio_read_channel_processed. Signed-off-by: Chris Lesiak <chris.lesiak@xxxxxxxxx>
Looks ok to me. Applied to -next. Thanks, Guenter _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors