diff options
| author | Brian Masney <[email protected]> | 2016-10-28 06:00:21 -0400 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2016-11-01 18:50:09 +0000 |
| commit | 1b7e9e2cbd6478e0ebe40639ea36fefd3ffcf916 (patch) | |
| tree | ee178b261cadee71342032c9fb5f5fd0269b9a6a /tools/perf/scripts/python/bin | |
| parent | f375a49f710535b0ac2923274e2a33f04e02514d (diff) | |
staging: iio: tsl2583: add locking to sysfs attributes
in_illuminance_input_target_show(), in_illuminance_input_target_store(),
in_illuminance_calibrate_store(), and in_illuminance_lux_table_store()
accesses data from the tsl2583_chip struct. Some of these fields can be
modified by other parts of the driver concurrently. This patch adds the
mutex locking to these sysfs attributes.
Signed-off-by: Brian Masney <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions