kernel_samsung_a53x/drivers/iio/imu/inv_mpu6050
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
..
inv_mpu_acpi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inv_mpu_aux.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inv_mpu_aux.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inv_mpu_core.c iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw 2024-11-18 12:12:00 +01:00
inv_mpu_i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inv_mpu_iio.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inv_mpu_magn.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inv_mpu_magn.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inv_mpu_ring.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inv_mpu_spi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inv_mpu_trigger.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00