android_kernel_sony_sdm845/drivers/iio/common
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dan Carpenter 2fb536ba49 iio: ssp_sensors: fix error code in ssp_print_mcu_debug()
commit 4170d3dd1467e9d78cb9af374b19357dc324b328 upstream.

The ssp_print_mcu_debug() function should return negative error codes on
error.  Returning "length" is meaningless.  This change does not affect
runtime because the callers only care about zero/non-zero.

Reported-by: Jonathan Cameron <jic23@kernel.org>
Fixes: 50dd64d57e ("iio: common: ssp_sensors: Add sensorhub driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20210914105333.GA11657@kili
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-27 09:33:58 +02:00
..
hid-sensors iio: hid-sensor: fix return of -EINVAL on invalid values in ret or value 2018-03-24 11:00:16 +01:00
ms_sensors iio: common: ms_sensors: use tab for indention 2016-04-16 13:39:25 +01:00
ssp_sensors iio: ssp_sensors: fix error code in ssp_print_mcu_debug() 2021-10-27 09:33:58 +02:00
st_sensors iio: accel: st_accel: fix LIS3LV02 reading and scaling 2017-01-12 11:39:21 +01:00
Kconfig
Makefile