linux-stable/include
Miquel Raynal 29f09f3529 iio: st_sensors: Add a local lock for protecting odr
[ Upstream commit 474010127e ]

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:41:33 +02:00
..
acpi
asm-generic tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry 2022-04-20 09:36:21 +02:00
clocksource
crypto
drm drm: fix EDID struct for old ARM OABI format 2022-06-09 10:25:35 +02:00
dt-bindings
keys
kunit
kvm
linux iio: st_sensors: Add a local lock for protecting odr 2022-06-14 18:41:33 +02:00
math-emu
media
memory memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode 2022-05-09 09:16:21 +02:00
misc
net i40e: xsk: Move tmp desc array from driver to pool 2022-06-14 18:41:31 +02:00
pcmcia
ras
rdma
scsi scsi: fcoe: Fix Wstringop-overflow warnings in fcoe_wwn_from_mac() 2022-06-09 10:26:03 +02:00
soc
sound ASoC: cs35l41: Fix an out-of-bounds access in otp_packed_element_t 2022-06-09 10:25:37 +02:00
target
trace tcp: add accessors to read/set tp->snd_cwnd 2022-06-14 18:41:22 +02:00
uapi landlock: Fix landlock_add_rule(2) documentation 2022-06-09 10:26:22 +02:00
vdso
video
xen