diff options
author | Frank Crawford <frank@crawford.emu.id.au> | 2023-04-16 14:25:09 +1000 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-04-21 07:27:23 -0700 |
commit | 376e1a937b3056802f3ad86811ec92ee3f49d560 (patch) | |
tree | dbfdc805f5b055e32e76c8d7c95c0bcb03cb3513 /scripts/gdb/linux/utils.py | |
parent | 0282ba4a4fe6c8e6c0ffecfcdf214fa7f6452dc4 (diff) |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions