power: fg-memif: Clear retry_once flag in IMA read
If the beat counts doesn't match during a SRAM read over IMA, a retry is attempted using retry_once flag. This flag is not cleared causing a continuous loop even if the beat counts match again. Fix it. CRs-Fixed: 1067180 Change-Id: Ie140740ce0374808a630a37d29888b646baa576f Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This commit is contained in:
parent
9b82a4c589
commit
1837b2b41c
1 changed files with 3 additions and 1 deletions
|
@ -499,8 +499,10 @@ out:
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (retry_once)
|
if (retry_once) {
|
||||||
|
retry_once = false;
|
||||||
goto retry;
|
goto retry;
|
||||||
|
}
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue