linux/drivers/iio
Miquel Raynal 474010127e iio: st_sensors: Add a local lock for protecting odr
Right now the (framework) mlock lock is (ab)used for multiple purposes:
1- protecting concurrent accesses over the odr local cache
2- avoid changing samplig frequency whilst buffer is running

Let's start by handling situation #1 with a local lock.

Suggested-by: Jonathan Cameron <jic23@kernel.org>
Cc: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20220207143840.707510-7-miquel.raynal@bootlin.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-04-10 16:21:45 +01:00
..
accel iio: st_sensors: Return as early as possible from the _write_raw() callbacks 2022-04-10 16:15:02 +01:00
adc iio: adc: stm32-dfsdm: Avoid dereferencing ->currentmode 2022-04-10 16:15:02 +01:00
addac iio: addac: ad74413r: correct comparator gpio getters mask usage 2022-01-30 14:23:33 +00:00
afe iio: afe: rescale: add temperature transducers 2022-02-28 10:22:24 +00:00
amplifiers Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
buffer iio: hw_consumer: Use struct_size() helper in kzalloc() 2022-01-23 18:03:37 +00:00
cdc
chemical iio:chemical:atlas: Switch from CONFIG_PM guards to pm_ptr() etc 2022-02-21 19:33:04 +00:00
common iio: st_sensors: Add a local lock for protecting odr 2022-04-10 16:21:45 +01:00
dac iio: dac: ltc2688: Use temporary variable for struct device 2022-04-04 09:11:24 +01:00
dummy iio: dummy: iio_simple_dummy: check the return value of kstrdup() 2022-04-04 09:11:24 +01:00
filter iio:filter:admv8818: add support for ADMV8818 2021-12-16 17:34:28 +00:00
frequency Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
gyro iio: st_sensors: Return as early as possible from the _write_raw() callbacks 2022-04-10 16:15:02 +01:00
health spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
humidity iio:common:meas-spec: Move exports into IIO_MEAS_SPEC_SENSORS 2022-02-18 11:42:26 +00:00
imu iio: imu: inv_mpu6050: Add support for ICM-20608-D 2022-04-04 09:11:24 +01:00
light iio:light:rpr0521: Switch from CONFIG_PM guards to pm_ptr() etc 2022-02-21 19:33:04 +00:00
magnetometer iio: st_sensors: Return as early as possible from the _write_raw() callbacks 2022-04-10 16:15:02 +01:00
multiplexer iio: multiplexer: Make use of device properties 2022-04-04 09:11:24 +01:00
orientation iio: hid-sensors: bind IIO channels alloc to device object 2021-07-13 18:21:53 +01:00
position iio: hid-sensors: Update header includes 2021-06-16 14:53:13 +01:00
potentiometer Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
potentiostat iio: lmp91000: Remove no-op trigger ops 2021-11-17 17:51:38 +00:00
pressure Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
proximity iio:proximity:pulsedlight: Switch from CONFIG_PM guards to pm_ptr() etc 2022-02-21 19:33:04 +00:00
resolver
temperature iio: temperature: ltc2983: Make use of device properties 2022-04-04 09:11:24 +01:00
test iio: test: add basic tests for the iio-rescale driver 2022-02-28 10:22:24 +00:00
trigger iio: sysfs-trigger: replace usage of found with dedicated list iterator variable 2022-04-04 09:11:25 +01:00
iio_core_trigger.h
iio_core.h iio: Mark iio_device_type as const 2021-11-17 17:51:35 +00:00
industrialio-buffer.c iio: core: Print error and fail iio_device_register() in case sample bits do not fit storage bits 2022-04-04 09:11:25 +01:00
industrialio-configfs.c
industrialio-core.c iio: core: fix a few code style issues 2022-04-04 09:11:23 +01:00
industrialio-event.c iio: introduce mag_referenced 2022-02-21 19:33:05 +00:00
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c 1st set of IIO new device support, features and cleanup for 5.17 2021-12-22 12:33:01 +01:00
industrialio-triggered-event.c iio: core: move @id from struct iio_dev to struct iio_dev_opaque 2021-05-17 13:49:13 +01:00
inkern.c iio: inkern: make a best effort on offset calculation 2022-01-30 14:38:03 +00:00
Kconfig iio: add filter subfolder 2021-12-16 17:29:46 +00:00
Makefile iio: add filter subfolder 2021-12-16 17:29:46 +00:00
TODO