diff options
| author | Dmitry Osipenko <digetx@gmail.com> | 2020-08-14 00:34:07 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-08-26 14:41:32 +0200 |
| commit | 99298de5df92699b1f709dc35c8636d15be21e2e (patch) | |
| tree | 6bc4f49d2dd72f96570ed42642b91d5c48b02918 /lib/mpi/mpiutil.c | |
| parent | db14d3b45b4da39a02746237d6006fddc3bf241b (diff) | |
power: supply: smb347-charger: Replace mutex with IRQ disable/enable
Let's simply disable/enable IRQ rather than use a mutex that protects from
racing with the interrupt handler. The result of this patch is that it's a
bit easier now to follow the driver's code.
Tested-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
