diff options
author | Eddie James <eajames@linux.ibm.com> | 2023-04-12 19:15:25 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-04-19 17:08:40 +0300 |
commit | a7ac37183ac2a0cc46d857997b2dd24997ca2754 (patch) | |
tree | b5e6d12e068df9c2bbfaeb190655cee7b73d43c5 /tools/perf/scripts/python/stackcollapse.py | |
parent | ab3e00416a0078be6d4126edc139536286d816e2 (diff) | |
download | linux-a7ac37183ac2a0cc46d857997b2dd24997ca2754.tar.xz |
hwmon: (pmbus/core) Add lock and unlock functions
Debugfs operations may set the page number, which must be done
atomically with the subsequent i2c operation. Lock the update_lock
in the debugfs functions and provide a function for pmbus drivers
to lock and unlock the update_lock.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20230412161526.252294-2-eajames@linux.ibm.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions