diff options
| author | Nuno Sá <nuno.sa@analog.com> | 2022-10-04 15:49:00 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 19:43:58 +0000 |
| commit | bb690935df8dd8f97612b422c669bd1a5fe87096 (patch) | |
| tree | dfc6553592017e0989e5c2d4f46b10026f307dda /tools/perf/scripts/python/stackcollapse.py | |
| parent | d0c09264f1a64ba8435acfaa70380f61239fc0d4 (diff) | |
iio: adc: rockchip_saradc: do not use internal iio_dev lock
The iio_device lock is only meant for internal use. Hence define a
device local lock to protect against concurrent accesses.
While at it, properly include "mutex.h" for mutex related APIs.
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20221004134909.1692021-8-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
