kernel_samsung_a53x/drivers/iio/imu
Su Hui dbbe0006d2 iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw
[ Upstream commit c3df0e29fb7788c4b3ddf37d5ed87dda2b822943 ]

inv_mpu6050_sensor_show() can return -EINVAL or IIO_VAL_INT. Return the
true value rather than only return IIO_VAL_INT.

Fixes: d5098447147c ("iio: imu: mpu6050: add calibration offset support")
Signed-off-by: Su Hui <suhui@nfschina.com>
Link: https://lore.kernel.org/r/20231030020218.65728-1-suhui@nfschina.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:12:00 +01:00
..
bmi160 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inv_icm42600 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inv_mpu6050 iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw 2024-11-18 12:12:00 +01:00
st_lsm6dsx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adis.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adis16400.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adis16460.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adis16475.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adis16480.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adis_buffer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adis_trigger.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fxos8700.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fxos8700_core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fxos8700_i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fxos8700_spi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kmx61.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00