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 <quic_rlomte@quicinc.com>
diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa.c b/drivers/platform/msm/ipa/ipa_v3/ipa.c
index 1ca2f98..06bf6fb 100644
--- a/drivers/platform/msm/ipa/ipa_v3/ipa.c
+++ b/drivers/platform/msm/ipa/ipa_v3/ipa.c
@@ -10785,7 +10785,6 @@
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 @@
IPAERR("IPA post init failed %d\n", result);
return result;
}
+ } else {
+
+ ipa_fw_load_sm_handle_event(IPA_FW_LOAD_EVNT_SMMU_DONE);
}
}
} else {