lib: arm_ffa: Continue FFA init if MEM_RETRIEVE_REQ is not supported am: 49a2a37f29 Original change: https://android-review.googlesource.com/c/trusty/lk/trusty/+/3488312 Change-Id: I84884b3947734028eabd74f105734f570b965406 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/lib/arm_ffa/arm_ffa.c b/lib/arm_ffa/arm_ffa.c index 9656664..6fbe3c7 100644 --- a/lib/arm_ffa/arm_ffa.c +++ b/lib/arm_ffa/arm_ffa.c
@@ -1052,10 +1052,7 @@ } if (!is_implemented) { TRACEF("FFA_MEM_RETRIEVE_REQ is not implemented\n"); - return ERR_NOT_SUPPORTED; - } - - if (ref_count_num_bits < 64) { + } else if (ref_count_num_bits < 64) { /* * Expect 64 bit reference count. If we don't have it, future calls to * SMC_FC_FFA_MEM_RETRIEVE_REQ can fail if we receive the same handle