diff options
| author | Fabien Proriol <[email protected]> | 2015-01-01 12:46:48 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2015-01-01 12:46:48 +0000 |
| commit | 65de7654d39c70c2b942f801cea01590cf7e3458 (patch) | |
| tree | fdb99856165a72ffa2b217c9fddc66e22caa5116 /drivers/scsi/mpt2sas/mpi/mpi2_init.h | |
| parent | iio: ad799x: Fix ad7991/ad7995/ad7999 config setup (diff) | |
| download | kernel-65de7654d39c70c2b942f801cea01590cf7e3458.tar.gz kernel-65de7654d39c70c2b942f801cea01590cf7e3458.zip | |
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 <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions
