summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-07-31 20:38:36 +0300
committerSebastian Reichel <sre@kernel.org>2021-08-16 18:56:50 +0300
commit4ac59d85a2369eac88f6042e3b9b8a4789525909 (patch)
treeaefe3281cb4c163ca155b68cd716bc0f6426d12d /certs
parent3e81bd7dfb9c72679666d1a54c9dd94b711f0fbc (diff)
downloadlinux-4ac59d85a2369eac88f6042e3b9b8a4789525909.tar.xz
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 <digetx@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions