[PATCH] iio:xilinx-xadc:xadc_read_raw INFO_OFFSET
Lars-Peter Clausen
lars at metafoo.de
Fri Nov 7 11:34:27 PST 2014
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
More information about the linux-arm-kernel
mailing list