dbbe0006d2
[ 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> |
||
---|---|---|
.. | ||
inv_mpu_acpi.c | ||
inv_mpu_aux.c | ||
inv_mpu_aux.h | ||
inv_mpu_core.c | ||
inv_mpu_i2c.c | ||
inv_mpu_iio.h | ||
inv_mpu_magn.c | ||
inv_mpu_magn.h | ||
inv_mpu_ring.c | ||
inv_mpu_spi.c | ||
inv_mpu_trigger.c | ||
Kconfig | ||
Makefile |