linux/drivers/iio
Salah Triki 422b5bbf33 iio: adc: viperboard: Fix error handling in vprbrd_iio_read_raw
The driver proceeds to the reception phase even if the preceding
transmission fails.

This uses a goto error label for an early bail out and ensures the mutex is
properly unlocked in case of failure.

Fixes: ffd8a6e7a7 ("iio: adc: Add viperboard adc driver")
Signed-off-by: Salah Triki <salah.triki@gmail.com>
Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
Reviewed-by: Maxwell Doose <m32285159@gmail.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2026-05-15 12:05:35 +01:00
..
accel Linux 7.0-rc7 2026-04-06 09:04:53 +02:00
adc iio: adc: viperboard: Fix error handling in vprbrd_iio_read_raw 2026-05-15 12:05:35 +01:00
addac iio: addac: ad74413r: simplify timeout return 2026-02-23 21:22:08 +00:00
afe iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
amplifiers iio: amplifiers: ad8366: add support for adrf5702/3 2026-03-26 20:10:26 +00:00
buffer iio: buffer: hw-consumer: fix use-after-free in error path 2026-05-15 12:05:34 +01:00
cdc iio: cdc: fix spelling mistakes in comments 2026-03-21 19:29:49 +00:00
chemical iio: chemical: scd30: fix division by zero in write_raw 2026-04-28 16:36:09 +01:00
common iio: ssp_sensors: cancel delayed work_refresh on remove 2026-05-15 12:05:34 +01:00
dac iio: dac: ad5686: fix powerdown control on dual-channel devices 2026-05-15 12:05:35 +01:00
dummy Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
filter iio: filter: admv8818: use dev_err_probe() 2026-02-28 11:35:31 +00:00
frequency iio: frequency: adf4350: replace TODO with NOTE in adf4350_set_freq() 2026-03-25 20:20:16 +00:00
gyro iio: gyro: itg3200: fix i2c read into the wrong stack location 2026-05-15 12:05:35 +01:00
health iio: Replace IRQF_ONESHOT with IRQF_NO_THREAD 2026-01-29 16:11:50 +00:00
humidity iio: humidity: hdc2010: remove unused interrupt_config 2026-03-03 21:20:02 +00:00
imu iio: imu: adis16550: fix stack leak in trigger handler 2026-05-15 12:01:38 +01:00
light iio: light: cm3323: fix reg_conf not being initialized correctly 2026-05-15 12:01:38 +01:00
magnetometer iio: magnetometer: st_magn: fix default DRDY pin selection for LIS2MDL 2026-05-15 12:01:38 +01:00
multiplexer iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
orientation iio: orientation: hid-sensor-rotation: add timestamp hack to not break userspace 2026-03-14 12:15:58 +00:00
position iio: position: hid-sensor-custom-intel-hinge: replace sprintf() with sysfs_emit() 2025-10-19 11:59:18 +01:00
potentiometer iio: potentiometer: mcp4131: fix double application of wiper shift 2026-02-23 08:24:37 +00:00
potentiostat iio: potentiostat: Drop unnecessary -ENOMEM messages 2025-08-25 12:36:29 +01:00
pressure iio: pressure: bmp280: fix stack leak in bmp580 trigger handler 2026-05-15 12:01:38 +01:00
proximity Linux 7.0-rc7 2026-04-06 09:04:53 +02:00
resolver iio: resolver: fix typo from degredation to degradation 2026-03-21 19:21:25 +00:00
temperature iio: temperature: tsys01: fix broken PROM checksum validation 2026-05-15 12:05:35 +01:00
test iio: test: fix typo from neeeds to needs in comment 2026-03-21 19:27:32 +00:00
trigger Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
iio_core_trigger.h
iio_core.h
industrialio-acpi.c
industrialio-backend.c iio: backend: use __free(fwnode_handle) for automatic cleanup 2026-03-21 12:02:24 +00:00
industrialio-buffer.c iio: buffer: Fix DMA fence leak in iio_buffer_enqueue_dmabuf() 2026-05-15 12:01:37 +01:00
industrialio-configfs.c
industrialio-core.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
industrialio-event.c iio: core: Add IIO_EV_INFO_SCALE to event info 2026-03-01 12:04:07 +00:00
industrialio-gts-helper.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
industrialio-sw-device.c iio: core: Constify struct configfs_item_operations and configfs_group_operations 2025-12-31 17:59:26 +00:00
industrialio-sw-trigger.c iio: core: Constify struct configfs_item_operations and configfs_group_operations 2025-12-31 17:59:26 +00:00
industrialio-trigger.c iio: core: Simplify IIO core managed APIs 2026-02-23 21:00:47 +00:00
industrialio-triggered-event.c
inkern.c iio: Fix iio_multiply_value use in iio_read_channel_processed_scale 2026-04-28 16:36:09 +01:00
Kconfig
Makefile
TODO