diff options
| author | Nuno Sá <nuno.sa@analog.com> | 2022-10-04 15:48:56 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 19:43:57 +0000 |
| commit | 7dde7ec2a84d598eb755883540d48a5ee73948ec (patch) | |
| tree | 816a101e6034e17045a79053eecf6b49669cb622 /tools/perf/scripts/python/stackcollapse.py | |
| parent | ed3aa67167bed8825993e6483c6dbeae607c1ff9 (diff) | |
iio: adc: imx7d_adc: 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>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://lore.kernel.org/r/20221004134909.1692021-4-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
