WSL2-Linux-Kernel/drivers/iio/gyro
Irina Tirdea b475c59b11 iio: gyro: bmg160: fix buffer read values
When reading gyroscope axes using iio buffers, the values
returned are always 0. In the interrupt handler, the return
value of the read operation is returned to the user instead
of the value read. Return the value read to the user.

This is also fixed in commit 82d8e5da1a33 ("iio:
accel: bmg160: optimize transfers in trigger handler").

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-04-03 11:21:33 +01:00
..
Kconfig
Makefile
adis16080.c
adis16130.c
adis16136.c
adis16260.c
adxrs450.c
bmg160.h
bmg160_core.c iio: gyro: bmg160: fix buffer read values 2016-04-03 11:21:33 +01:00
bmg160_i2c.c
bmg160_spi.c
hid-sensor-gyro-3d.c
itg3200_buffer.c
itg3200_core.c
ssp_gyro_sensor.c
st_gyro.h
st_gyro_buffer.c
st_gyro_core.c
st_gyro_i2c.c
st_gyro_spi.c