commit | 2acbe15f8ae539809ef8169a65a8d859cf932530 | [log] [tgz] |
---|---|---|
author | Adriana Reus <adriana.reus@intel.com> | Fri Jun 12 18:10:23 2015 +0300 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jul 19 11:48:01 2015 +0100 |
tree | 27ab1fad9aadfcb471f684b499177f655bc38132 | |
parent | b220da654d268c79f420fbfac6a35eb420b9cc4b [diff] |
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>