tmp_suning_uos_patched/drivers/iio/imu
Adriana Reus af5e1a6831 iio:inv-mpu6050: Fix inconsistency for the scale channel
Fix inconsistency in the semantics of the scale attribute.
For scale the write_raw function was considering the scale table index
and writing the appropriate value into the range register, while
for read_raw it was outputting the actual scale.
Fix this behaviour and adhere to the iio ABI specification.

Signed-off-by: Adriana Reus <adriana.reus@intel.com>
Reviewed-by: Viorel Suman <viorel.suman@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-03-14 18:36:21 +00:00
..
inv_mpu6050
adis16400_buffer.c
adis16400_core.c
adis16400.h
adis16480.c
adis_buffer.c
adis_trigger.c
adis.c
Kconfig
kmx61.c
Makefile