git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eacc60
)
iio: iio: Fix iio_channel_read return if channel havn't info
author
Fabien Proriol
<fabien.proriol@jdsu.com>
Thu, 1 Jan 2015 12:46:48 +0000
(12:46 +0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Thu, 1 Jan 2015 12:46:48 +0000
(12:46 +0000)
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>
drivers/iio/inkern.c
patch
|
blob
|
history
diff --cc
drivers/iio/inkern.c
Simple merge