aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSergiu Cuciurean <sergiu.cuciurean@analog.com>2020-09-16 12:29:28 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-21 18:41:35 +0100
commit8a0f412fca6e55765ad04c67037eb3907f0ad076 (patch)
treeab53fd143e9b984061e4013163c94d58c2be0988 /tools/perf/scripts/python/export-to-sqlite.py
parentiio: proximity: vl53l0x: Add IRQ support (diff)
downloadlinux-8a0f412fca6e55765ad04c67037eb3907f0ad076.tar.gz
linux-8a0f412fca6e55765ad04c67037eb3907f0ad076.zip
iio: adc: fsl-imx25-gcq: Replace indio_dev->mlock with own device lock
As part of the general cleanup of indio_dev->mlock, this change replaces it with a local lock, to protect against any other accesses during the reading of sample. Reading a sample requires multiple consecutive regmap operations and a completion callback, so this requires that no other read occurs until it completes. This is part of a bigger cleanup. Link: https://lore.kernel.org/linux-iio/CA+U=Dsoo6YABe5ODLp+eFNPGFDjk5ZeQEceGkqjxXcVEhLWubw@mail.gmail.com/ Signed-off-by: Sergiu Cuciurean <sergiu.cuciurean@analog.com> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Link: https://lore.kernel.org/r/20200916092928.78026-1-alexandru.ardelean@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions