On 11/07/2014 08:11 PM, Joshua Lamorie wrote:
Added a condition for a read of IIO_CHAN_INFO_OFFSET to ensure that an offset is only provided for requests for XADC temperature. The previous assumption was that only requests for temperature would include a read of CHAN_INFO_OFFSET. However there is no way to restrict this in calling functions, such as iio_convert_raw_to_processed_unlocked() which is called when using the XADC as a device for iio_hwmon.
Fabien send pretty much the same patch yesterday. See http://thread.gmane.org/gmane.linux.kernel.iio/14579
- Lars -- 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