summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorFrank Crawford <frank@crawford.emu.id.au>2023-04-16 14:25:09 +1000
committerGuenter Roeck <linux@roeck-us.net>2023-04-21 07:27:23 -0700
commit376e1a937b3056802f3ad86811ec92ee3f49d560 (patch)
treedbfdc805f5b055e32e76c8d7c95c0bcb03cb3513 /scripts/gdb/linux/utils.py
parent0282ba4a4fe6c8e6c0ffecfcdf214fa7f6452dc4 (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