power: qpnp-fg: Do not return -EAGAIN when handling IMA error during probe

Currently, when an IMA error is seen while doing a SRAM access
driver returns -EAGAIN. This is fine as such however this can
cause a failure during probe where the error is checked and
handled well before SRAM access can be made. Fix this.

Change-Id: I461d185ffcf9aaccbf29d5dc484f74af20d16712
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
1 file changed