summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-01-06 12:06:07 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-02-01 14:29:34 +0100
commit30abb3d07929137bf72327560e1595508a692c4e (patch)
tree3d4825a7e9ab10cd836726e17897a9a2fb25c490 /lib/mpi/mpi-add.c
parent05972f53a12fe97ac2bb4d56dfed730e93040d89 (diff)
power: supply: axp288_fuel_gauge: Take lock before updating the valid flag
The valid flag is protected by the mutex, so code clearing it should take the mutex before cleating the valid flag. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions