linux/drivers/iio
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
..
accel iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig 2024-10-06 16:27:25 +01:00
adc iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig 2024-10-06 16:28:31 +01:00
addac iio: addac: ad74413r: simplify with spi_get_device_match_data() 2024-06-13 19:19:24 +01:00
afe iio: afe: rescale: Accept only offset channels 2023-10-17 20:25:32 +01:00
amplifiers iio: amplifiers: ada4250: add missing select REGMAP_SPI in Kconfig 2024-10-06 16:31:03 +01:00
buffer Merge 6.11-rc7 into char-misc-next 2024-09-09 08:36:23 +02:00
cdc iio: cdc: ad7150: relax return value check for IRQ get 2023-08-01 18:55:55 +01:00
chemical iio: chemical: ens160: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig 2024-10-06 16:29:13 +01:00
common iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency() 2024-10-10 18:50:30 +01:00
dac iioc: dac: ltc2664: Fix span variable usage in ltc2664_channel_config() 2024-10-06 16:31:46 +01:00
dummy iio: dummy: iio_simple_dummy_buffer: use iio_for_each_active_channel() 2024-08-03 10:13:39 +01:00
filter drivers: iio: filter: admv8818: add bypass mode 2023-08-08 09:51:06 +01:00
frequency iio: frequency: adf4377: add missing select REMAP_SPI in Kconfig 2024-10-06 16:30:53 +01:00
gyro iio: gyro: adis16260: make use of the new lock helpers 2024-06-25 21:04:50 +01:00
health iio: health: afe4404: make use of iio_for_each_active_channel() 2024-08-03 10:13:40 +01:00
humidity iio: humidity: Add support for ENS210 2024-08-17 15:37:37 +01:00
imu iio: bmi323: fix reversed if statement in bmi323_core_runtime_resume() 2024-09-30 09:20:54 +01:00
light iio: light: bu27008: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig 2024-10-06 16:29:32 +01:00
magnetometer iio: magnetometer: af8133j: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig 2024-10-06 16:29:46 +01:00
multiplexer iio: multiplexer: Remove an unused field in struct mux 2024-05-27 09:48:56 +01:00
orientation iio: orientation: hid-sensor-rotation: Convert to platform remove callback returning void 2023-09-23 15:06:56 +01:00
position iio: position: hid-sensor-custom-intel-hinge: Convert to platform remove callback returning void 2023-09-23 15:06:56 +01:00
potentiometer iio: potentiometer: max5487: Drop ACPI_PTR() usage 2024-01-23 22:06:55 +00:00
potentiostat iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00
pressure iio: pressure: bm1390: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig 2024-10-06 16:30:02 +01:00
proximity iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig 2024-10-06 16:30:15 +01:00
resolver iio: resolver: ad2s1210: add missing select (TRIGGERED_)BUFFER in Kconfig 2024-10-06 16:30:38 +01:00
temperature iio: temperature: ltc2983: convert to dev_err_probe() 2024-06-30 12:27:25 +01:00
test iio: test: gts: test available times and gains sorting 2024-05-27 09:48:56 +01:00
trigger iio: trigger: stm32-timer-trigger: make use of regmap_clear_bits(), regmap_set_bits() 2024-06-25 21:04:48 +01:00
iio_core_trigger.h
iio_core.h iio: Add iio_read_channel_label to inkern API 2024-06-28 20:06:56 +01:00
industrialio-acpi.c iio: core: Add iio_read_acpi_mount_matrix() helper function 2024-04-29 20:53:25 +01:00
industrialio-backend.c drivers:iio:Fix the NULL vs IS_ERR() bug for debugfs_create_dir() 2024-08-21 21:32:52 +01:00
industrialio-buffer.c iio: core: annotate masklength as __private 2024-08-03 10:13:43 +01:00
industrialio-configfs.c
industrialio-core.c iio: Fix spelling mistake "avaialable" -> "available" 2024-08-10 11:23:39 +01:00
industrialio-event.c iio: event: use sizeof(*pointer) instead of sizeof(type) 2024-06-13 19:19:23 +01:00
industrialio-gts-helper.c iio: Fix the sorting functionality in iio_gts_build_avail_time_table 2024-05-27 09:48:56 +01:00
industrialio-sw-device.c
industrialio-sw-trigger.c iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails 2022-11-12 17:53:35 +00:00
industrialio-trigger.c iio: trigger: allow devices to suspend/resume theirs associated trigger 2024-08-10 11:19:36 +01:00
industrialio-triggered-event.c
inkern.c iio: fix scale application in iio_convert_raw_to_processed_unlocked 2024-08-03 16:29:32 +01:00
Kconfig iio: core: Add new DMABUF interface infrastructure 2024-06-30 11:29:17 +01:00
Makefile iio: core: Add iio_read_acpi_mount_matrix() helper function 2024-04-29 20:53:25 +01:00
TODO iio: core: move 'mlock' to 'struct iio_dev_opaque' 2022-11-23 19:44:00 +00:00