Miquel Raynal
ca2498cce8
iio: st_sensors: Add a local lock for protecting odr
...
[ Upstream commit 474010127e2505fc463236470908e1ff5ddb3578 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:11:59 +02:00
..
accel
iio: Fix error handling for PM
2022-03-02 11:41:12 +01:00
adc
iio: adc: sc27xx: Fine tune the scale calibration values
2022-06-14 18:11:52 +02:00
afe
iio: afe: rescale: use s64 for temporary scale calculations
2022-04-15 14:17:57 +02:00
amplifiers
buffer
chemical
common
iio: st_sensors: Add a local lock for protecting odr
2022-06-14 18:11:59 +02:00
dac
iio: dac: ad5446: Fix read_raw not returning set value
2022-05-09 09:03:21 +02:00
dummy
iio: dummy: iio_simple_dummy: check the return value of kstrdup()
2022-06-14 18:11:59 +02:00
frequency
gyro
iio: Fix error handling for PM
2022-03-02 11:41:12 +01:00
health
humidity
iio: humidity: hdc100x: Add margin to the conversion time
2021-08-18 08:56:56 +02:00
imu
iio: Fix error handling for PM
2022-03-02 11:41:12 +01:00
light
iio: ltr501: Don't return error code in trigger handler
2021-12-14 14:49:05 +01:00
magnetometer
iio: magnetometer: ak8975: Fix the error handling in ak8975_power_on()
2022-05-09 09:03:21 +02:00
multiplexer
orientation
potentiometer
potentiostat
iio: potentiostat: lmp91000: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
2021-07-14 16:53:39 +02:00
pressure
iio:pressure:mpl3115: Force alignment of buffer
2020-12-30 11:51:44 +01:00
proximity
iio: prox: isl29501: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
2021-07-14 16:53:45 +02:00
resolver
temperature
iio: hid-sensor-temperature: Fix issues of timestamp channel
2021-03-24 11:26:43 +01:00
trigger
iio: trigger: stm32-timer: fix MODULE_ALIAS
2021-12-14 14:49:05 +01:00
iio_core.h
iio_core_trigger.h
industrialio-buffer.c
industrialio-configfs.c
industrialio-core.c
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
iio: trigger: Fix reference counting
2021-12-14 14:49:05 +01:00
industrialio-triggered-event.c
inkern.c
iio: inkern: make a best effort on offset calculation
2022-04-15 14:17:58 +02:00
Kconfig
Makefile