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:
Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Loading
Please register or sign in to comment