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

Commit 336bb183 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: qpnp-fg: fix retry transaction in IMA read



When the start and end beat counts do not match during IMA read,
clear IMA_REQ_ACCESS before retrying the transaction again.

Also, as per the hardware documentation, RIF_MEM_ACCESS_REQ
status has to be checked before doing an IMA read/write. Without
doing that, there is a chance of interrupting an ongoing SRAM
access ending up in IMA exception. Fix it.

CRs-Fixed: 950434
Change-Id: Ia899c7c300b01ce56149cfc1d97ed464fedc2724
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 1acad2bb
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