linux/drivers/iio/common
Christophe JAILLET 17a38b8522 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:09:34 +09:00
..
cros_ec_sensors iio: cros_ec: fix an use-after-free in cros_ec_sensors_push_data() 2023-10-25 11:58:58 +02:00
hid-sensors iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency() 2024-10-22 15:40:44 +02:00
ms_sensors iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time table 2024-01-05 15:13:32 +01:00
scmi_sensors iio: scmi: fix spelling of SPDX tag 2021-06-13 17:00:18 +01:00
ssp_sensors iio:common:ssp_sensors: Fix an error handling path ssp_probe() 2025-12-07 06:09:34 +09:00
st_sensors iio: st_sensors: Add a local lock for protecting odr 2022-06-14 18:36:20 +02:00
Kconfig iio/scmi: Adding support for IIO SCMI Based Sensors 2021-03-13 16:43:04 +00:00
Makefile iio/scmi: Adding support for IIO SCMI Based Sensors 2021-03-13 16:43:04 +00:00