aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2021-07-31 20:38:36 +0300
committerSebastian Reichel <[email protected]>2021-08-16 17:56:50 +0200
commit4ac59d85a2369eac88f6042e3b9b8a4789525909 (patch)
treeaefe3281cb4c163ca155b68cd716bc0f6426d12d /scripts/gdb/linux/utils.py
parent3e81bd7dfb9c72679666d1a54c9dd94b711f0fbc (diff)
power: supply: smb347-charger: Make smb347_set_writable() IRQ-safe
The smb347_set_writable() is used by interrupt handler and outside of it. The interrupt should be disabled when the function is used outside of interrupt handler in order to prevent racing with the interrupt context. Add new parameter to smb347_set_writable() that allows to disable IRQ. Signed-off-by: Dmitry Osipenko <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions