diff options
author | Frank Crawford <frank@crawford.emu.id.au> | 2023-04-16 07:25:09 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-04-21 17:27:23 +0300 |
commit | 376e1a937b3056802f3ad86811ec92ee3f49d560 (patch) | |
tree | dbfdc805f5b055e32e76c8d7c95c0bcb03cb3513 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0282ba4a4fe6c8e6c0ffecfcdf214fa7f6452dc4 (diff) | |
download | linux-376e1a937b3056802f3ad86811ec92ee3f49d560.tar.xz |
hwmon: (it87) Add calls to smbus_enable/smbus_disable as required
Disable/re-enable access through SMBus for chip registers when they are
are being read or written.
For simple cases this is done at the same time as when a mutex is set,
however, within loops or during initialisation it is done separately.
Signed-off-by: Frank Crawford <frank@crawford.emu.id.au>
[groeck: Fixed multi-line alignment]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions