Browse Source

msm: ipa3: Fix to handle ipa firmware loading in case of XBL boot

Updated change to handle ipa firmware loading, as in case of XBL
boot IPA firmware is not loaded through PIL subsystem.

Change-Id: I8f5457fe76f27ba34336a0889add24eecad5e7f1
Signed-off-by: Raghavendar rao l <[email protected]>
Raghavendar rao l 3 years ago
parent
commit
73cc882152
1 changed files with 3 additions and 1 deletions
  1. 3 1
      drivers/platform/msm/ipa/ipa_v3/ipa.c

+ 3 - 1
drivers/platform/msm/ipa/ipa_v3/ipa.c

@@ -10785,7 +10785,6 @@ static int ipa_smmu_update_fw_loader(void)
 			ipa3_ctx->num_smmu_cb_probed ==
 			ipa3_ctx->max_num_smmu_cb) {
 			IPADBG("All %d CBs probed\n", IPA_SMMU_CB_MAX);
-			ipa_fw_load_sm_handle_event(IPA_FW_LOAD_EVNT_SMMU_DONE);
 
 			if (ipa3_ctx->use_xbl_boot) {
 				IPAERR("Using XBL boot load for IPA FW\n");
@@ -10805,6 +10804,9 @@ static int ipa_smmu_update_fw_loader(void)
 					IPAERR("IPA post init failed %d\n", result);
 					return result;
 				}
+			} else {
+
+				ipa_fw_load_sm_handle_event(IPA_FW_LOAD_EVNT_SMMU_DONE);
 			}
 		}
 	} else {