summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAdriana Reus <adriana.reus@intel.com>2015-06-12 18:10:23 +0300
committerJonathan Cameron <jic23@kernel.org>2015-06-13 20:57:53 +0300
commit6a3c45bb5a385be7049a7725a4fe93eaa76915f4 (patch)
tree8d12f5508db7aad747d9e30fe629174e1dae134f /lib/mpi/mpiutil.c
parent6c0d48cb29c29b306ba3548afb45154d22eb4d78 (diff)
downloadlinux-6a3c45bb5a385be7049a7725a4fe93eaa76915f4.tar.xz
iio: inv-mpu: Specify the expected format/precision for write channels
The gyroscope needs IIO_VAL_INT_PLUS_NANO for the scale channel and unless specified write returns MICRO by default. This needs to be properly specified so that write operations into scale have the expected behaviour. Signed-off-by: Adriana Reus <adriana.reus@intel.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions