Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 19aadef3 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

power: smb135x-charger: serialize access to registers



There could be instances when multiple threads execute read modify
write on same register leading to nasty race conditions.

Protect the calls to read, write and modify registers.

Change-Id: I4252befdd2e68685f866e0504a74b3281011912d
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 3e9fbddc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment