linux/drivers/iio/common
Christophe JAILLET 5b82774d0e iio:common:ssp_sensors: Fix an error handling path ssp_probe()
commit 21553258b9 upstream.

If an error occurs after a successful mfd_add_devices() call, it should be
undone by a corresponding mfd_remove_devices() call, as already done in the
remove function.

Fixes: 50dd64d57e ("iio: common: ssp_sensors: Add sensorhub driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-12-07 06:24:58 +09: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 multiple odr switch when FIFO is off 2024-12-09 10:41:09 +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_sensors: Fix an error handling path ssp_probe() 2025-12-07 06:24:58 +09:00
st_sensors iio: common: st_sensors: Fix use of uninitialize device structs 2025-07-24 08:56:28 +02: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