aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexandru Ardelean <[email protected]>2019-11-22 15:24:16 +0200
committerJonathan Cameron <[email protected]>2019-11-23 12:09:54 +0000
commitcb5a07f1f15cc3fd7e12bfdd48ba0e9fb585ea5e (patch)
tree6fd18e87d85d16afedadf50e6887fc2fc3ab43d8 /tools/perf/scripts/python
parent762ab093cbe26451175a5a63ea06c971bf973525 (diff)
iio: imu: adis: protect initial startup routine with state lock
The initial startup routine is called by some ADIS drivers during probe, and before registering with IIO. Normally, userspace should not be able to do any access to the device (as there shouldn't be any available). This change extends the state lock to the entire initial-startup routine. Behaviourally nothing should change, but this should make the library function a bit more robust. Signed-off-by: Alexandru Ardelean <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions