Searched hist:"65 de7654" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/ |
H A D | inkern.c | 65de7654 Thu Jan 01 06:46:48 CST 2015 Fabien Proriol <fabien.proriol@jdsu.com> iio: iio: Fix iio_channel_read return if channel havn't info
When xilinx-xadc is used with hwmon driver to read voltage, offset used for temperature is always applied whatever the channel.
iio_channel_read must return an error to avoid offset for channel without IIO_CHAN_INFO_OFFSET property.
Signed-off-by: Fabien Proriol <fabien.proriol@jdsu.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
|