summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/gyro/adis16130_core.c
diff options
context:
space:
mode:
authorJonathan Cameron2012-04-15 18:41:20 +0200
committerGreg Kroah-Hartman2012-04-19 01:38:19 +0200
commitfbaff213a3b5fd44fc13df573c2b5728ed5f73bd (patch)
treebce189351bb6c6b91d76c04cf3bff66bb9bb0582 /drivers/staging/iio/gyro/adis16130_core.c
parentstaging:iio:dac Add IIO_CHAN_INFO_RAW entries to all drivers. (diff)
downloadkernel-qcow2-linux-fbaff213a3b5fd44fc13df573c2b5728ed5f73bd.tar.gz
kernel-qcow2-linux-fbaff213a3b5fd44fc13df573c2b5728ed5f73bd.tar.xz
kernel-qcow2-linux-fbaff213a3b5fd44fc13df573c2b5728ed5f73bd.zip
staging:iio:gyro Add IIO_CHAN_INFO_RAW entries to all drivers.
Precursor to making value read / write attribute optional. No processed values in gyroscopes. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/gyro/adis16130_core.c')
-rw-r--r--drivers/staging/iio/gyro/adis16130_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/iio/gyro/adis16130_core.c b/drivers/staging/iio/gyro/adis16130_core.c
index 947eb86f05d8..257bdf2bfb46 100644
--- a/drivers/staging/iio/gyro/adis16130_core.c
+++ b/drivers/staging/iio/gyro/adis16130_core.c
@@ -100,11 +100,13 @@ static const struct iio_chan_spec adis16130_channels[] = {
.type = IIO_ANGL_VEL,
.modified = 1,
.channel2 = IIO_MOD_Z,
+ .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT,
.address = ADIS16130_RATEDATA,
}, {
.type = IIO_TEMP,
.indexed = 1,
.channel = 0,
+ .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT,
.address = ADIS16130_TEMPDATA,
}
};