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

Commit 1320125a authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

power: qpnp-fg: fix a potential access lockup



In fg_mem_read() there is an execution path where releasing access to
the fuel gauge sram may fail but the associated rw_lock mutex is not
released.

Fix the potential deadlock.

Change-Id: I08edb83135203dd37114b4bed6aa580defc04210
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 6a27fa9e
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