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

Skip to content
Commit 9b88a302 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: qpnp-fg-gen3: Write to profile integrity bit before restarting FG



When the profile is loaded and FG is restarted, HW will be busy
not granting SRAM access for ~330 ms. This can potentially end
up failing in writing the profile integrity bit which is done
immediately following restarting FG. Write the profile integrity
bit after loading the profile and before restarting FG so that
it will not fail.

Also, increase the number of retries while waiting for MEM_GNT to
be set, to help with any potential SRAM accesses that if made
when FG is restarted can go through.

CRs-Fixed: 2168844
Change-Id: I0c18a206e8d238b8c43f019b278dc7223228519b
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 436b6888
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment