mirror of https://gitee.com/openkylin/linux.git
staging:iio:adis16400: Fixup adis16336 temp channel attributes
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>
This commit is contained in:
parent
760ebc0d2a
commit
2e132e4692
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue