From: Adriana Reus Date: Fri, 12 Jun 2015 15:10:23 +0000 (+0300) Subject: iio: inv-mpu: Specify the expected format/precision for write channels X-Git-Tag: omap-for-v4.3/fixes-merge-window~229^2~3^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a3c45bb5a385be7049a7725a4fe93eaa76915f4;p=pandora-kernel.git 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 Cc: Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed