linux/drivers/iio/common
Christophe JAILLET 3a29b84cf7 iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency()
If hid_sensor_set_report_latency() fails, the error code should be returned
instead of a value likely to be interpreted as 'success'.

Fixes: 138bc7969c ("iio: hid-sensor-hub: Implement batch mode")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://patch.msgid.link/c50640665f091a04086e5092cf50f73f2055107a.1727980825.git.christophe.jaillet@wanadoo.fr
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-10-10 18:50:30 +01:00
..
cros_ec_sensors iio: common: cros_ec_sensors_core: use new '.masklength' accessors 2024-08-03 10:13:43 +01:00
hid-sensors iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency() 2024-10-10 18:50:30 +01:00
inv_sensors iio: invensense: fix odr switching to same value 2024-05-27 09:49:20 +01:00
ms_sensors iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time table 2023-11-16 19:35:41 +00:00
scmi_sensors iio: common: scmi_iio: Remove unnecessary u64 type cast 2024-08-03 10:13:37 +01:00
ssp_sensors iio: common: ssp: Fix alignment for DMA safety 2022-06-14 11:53:15 +01:00
st_sensors iio: st_sensors: relax WhoAmI check in st_sensors_verify_id() 2024-06-29 19:44:43 +01:00
Kconfig iio: move inv_icm42600 timestamp module in common 2023-07-20 19:21:28 +01:00
Makefile iio: move inv_icm42600 timestamp module in common 2023-07-20 19:21:28 +01:00