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:
Subbaraman Narayanamurthy 2016-09-14 19:20:24 -07:00
parent 9b82a4c589
commit 1837b2b41c

View file

@ -499,8 +499,10 @@ out:
return rc;
}
if (retry_once)
if (retry_once) {
retry_once = false;
goto retry;
}
return rc;
}