WSL2-Linux-Kernel/drivers/iio/gyro
Dmitry Perchanov c691a5c0fd iio: hid: fix the retval in gyro_3d_capture_sample
commit eb50cd5bfd upstream.

Return value should be zero for success. This was forgotten for timestamp
feature. Verified on RealSense cameras.

Fixes: 4648cbd8fb ("iio: hid-sensor-gyro-3d: Add timestamp channel")
Signed-off-by: Dmitry Perchanov <dmitry.perchanov@intel.com>
Link: https://lore.kernel.org/r/7c1809dc74eb2f58a20595f4d02e76934f8e9219.camel@intel.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-09 11:26:42 +01:00
..
Kconfig
Makefile
adis16080.c
adis16130.c
adis16136.c
adis16260.c
adxrs290.c
adxrs450.c
bmg160.h
bmg160_core.c
bmg160_i2c.c
bmg160_spi.c
fxas21002c.h
fxas21002c_core.c
fxas21002c_i2c.c
fxas21002c_spi.c
hid-sensor-gyro-3d.c
itg3200_buffer.c
itg3200_core.c
mpu3050-core.c
mpu3050-i2c.c
mpu3050.h
ssp_gyro_sensor.c
st_gyro.h
st_gyro_buffer.c
st_gyro_core.c
st_gyro_i2c.c
st_gyro_spi.c