projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
760ebc0
)
staging:iio:adis16400: Fixup adis16336 temp channel attributes
author
Lars-Peter Clausen
<lars@metafoo.de>
Mon, 15 Oct 2012 09:35:00 +0000
(10:35 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Fri, 19 Oct 2012 15:23:34 +0000
(16:23 +0100)
The temperature channel has a calibbias attribute which it should not have, but
the offset attribute is missing.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/imu/adis16400_core.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/imu/adis16400_core.c
b/drivers/staging/iio/imu/adis16400_core.c
index eaed87ff1c8614acebb9d46fa2d3d917d09aa6a5..3144a7b1e1c4f6cd03f0b55780aa473603afa51e 100644
(file)
--- a/
drivers/staging/iio/imu/adis16400_core.c
+++ b/
drivers/staging/iio/imu/adis16400_core.c
@@
-1037,7
+1037,7
@@
static const struct iio_chan_spec adis16334_channels[] = {
.indexed = 1,
.channel = 0,
.info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT |
- IIO_CHAN_INFO_
CALIBBIAS
_SEPARATE_BIT |
+ IIO_CHAN_INFO_
OFFSET
_SEPARATE_BIT |
IIO_CHAN_INFO_SCALE_SHARED_BIT,
.address = temp0,
.scan_index = ADIS16400_SCAN_TEMP,