diff options
| author | Su Hui <[email protected]> | 2023-10-30 10:02:19 +0800 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2023-11-26 17:08:55 +0000 |
| commit | c3df0e29fb7788c4b3ddf37d5ed87dda2b822943 (patch) | |
| tree | ae7f18e9c6f0135bca360c5dca94647599925213 /scripts/gcc-plugins/gcc-generate-gimple-pass.h | |
| parent | 1cd2fe4fd63e54b799a68c0856bda18f2e40caa8 (diff) | |
iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-gimple-pass.h')
0 files changed, 0 insertions, 0 deletions