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 iio: bmg160: Add SPI driver 2015-08-31 17:06:11 +01:00
Makefile iio: bmg160: Add SPI driver 2015-08-31 17:06:11 +01:00
adis16080.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
adis16130.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
adis16136.c First set of new device support, features and cleanups for IIO in the 4.5 cycle 2015-12-01 09:13:29 -08:00
adis16260.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
adxrs450.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
bmg160.h iio: bmg160: Separate i2c and core driver 2015-08-31 17:04:23 +01:00
bmg160_core.c iio: gyro: bmg160: fix buffer read values 2016-04-03 11:21:33 +01:00
bmg160_i2c.c iio: bmg160: Separate i2c and core driver 2015-08-31 17:04:23 +01:00
bmg160_spi.c iio: bmg160: Add SPI driver 2015-08-31 17:06:11 +01:00
hid-sensor-gyro-3d.c iio: gyro: hid-sensor-gyro-3d: Fix memory leak in probe() 2015-05-17 09:09:49 +01:00
itg3200_buffer.c iio: gyro: itg3200: Fix indio_dev->trig assignment 2014-08-25 21:49:00 +01:00
itg3200_core.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
ssp_gyro_sensor.c iio: common: ssp_sensors: Add sensorhub gyroscope sensor 2015-01-29 18:49:56 +00:00
st_gyro.h iio:gyro: Removed unnecessary parameter on common_probe function 2014-10-04 11:24:52 +01:00
st_gyro_buffer.c iio:st_gyro: Remove redundant call to iio_sw_buffer_preenable(). 2013-10-16 19:12:46 +01:00
st_gyro_core.c iio: st_sensors: support active-low interrupts 2016-01-10 12:35:32 +00:00
st_gyro_i2c.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
st_gyro_spi.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00