mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
msm: ipa3: Fix to avoid the boot up crash in non smmu targets
Updated change to perform ipa pre initialization even before attempting to load the ipa firmware along with pdev node initialization for non smmu target. Change-Id: I04421c1f11f0c7b4d7a0f30135741946b157aa2c Signed-off-by: Raghavendar rao l <quic_rlomte@quicinc.com>
This commit is contained in:
parent
858b405f06
commit
7705d29b41
1 changed files with 11 additions and 0 deletions
|
|
@ -9538,7 +9538,17 @@ int ipa3_plat_drv_probe(struct platform_device *pdev_p)
|
|||
return -EOPNOTSUPP;
|
||||
}
|
||||
}
|
||||
/* Below update of pre init for non smmu device, As
|
||||
* existing flow initialzies only for smmu
|
||||
* enabled node.*/
|
||||
|
||||
result = ipa3_pre_init(&ipa3_res, pdev_p);
|
||||
if (result) {
|
||||
IPAERR("ipa3_init failed\n");
|
||||
return result;
|
||||
}
|
||||
ipa_fw_load_sm_handle_event(IPA_FW_LOAD_EVNT_SMMU_DONE);
|
||||
goto skip_repeat_pre_init;
|
||||
}
|
||||
|
||||
/* Proceed to real initialization */
|
||||
|
|
@ -9548,6 +9558,7 @@ int ipa3_plat_drv_probe(struct platform_device *pdev_p)
|
|||
return result;
|
||||
}
|
||||
|
||||
skip_repeat_pre_init:
|
||||
result = of_platform_populate(pdev_p->dev.of_node,
|
||||
ipa_plat_drv_match, NULL, &pdev_p->dev);
|
||||
if (result) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue