diff options
| author | Guenter Roeck <[email protected]> | 2022-11-10 15:24:57 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2022-11-14 18:04:37 +0000 |
| commit | ea37bec51ff442546e4a57d5cca2de9cc64a9df3 (patch) | |
| tree | af7d91ef27f6ddbf639148f7d50d680d78a40cc1 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | thermal/core: Introduce locked version of thermal_zone_device_update (diff) | |
| download | kernel-ea37bec51ff442546e4a57d5cca2de9cc64a9df3.tar.gz kernel-ea37bec51ff442546e4a57d5cca2de9cc64a9df3.zip | |
thermal/core: Protect hwmon accesses to thermal operations with thermal zone mutex
In preparation to protecting access to thermal operations against thermal
zone device removal, protect hwmon accesses to thermal zone operations
with the thermal zone mutex. After acquiring the mutex, ensure that the
thermal zone device is registered before proceeding.
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
