Merge "msm: ipa3: debug change"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
cf2cd24579
@@ -9919,6 +9919,10 @@ static int get_ipa_dts_configuration(struct platform_device *pdev,
|
|||||||
IPAERR(":get resource failed for ipa-hw-ver\n");
|
IPAERR(":get resource failed for ipa-hw-ver\n");
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(ipa_drv_res->ipa_hw_type == 24) {
|
||||||
|
ipa_drv_res->ipa_hw_type = IPA_HW_v5_5;
|
||||||
|
}
|
||||||
IPADBG(": ipa_hw_type = %d", ipa_drv_res->ipa_hw_type);
|
IPADBG(": ipa_hw_type = %d", ipa_drv_res->ipa_hw_type);
|
||||||
|
|
||||||
if (ipa_drv_res->ipa_hw_type < IPA_HW_v3_0) {
|
if (ipa_drv_res->ipa_hw_type < IPA_HW_v3_0) {
|
||||||
@@ -11243,6 +11247,10 @@ int ipa3_plat_drv_probe(struct platform_device *pdev_p)
|
|||||||
pr_debug("ipa: ipa_hw_type = %d\n", ipa3_ctx->ipa_hw_type);
|
pr_debug("ipa: ipa_hw_type = %d\n", ipa3_ctx->ipa_hw_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ipa3_ctx->ipa_hw_type == 24) {
|
||||||
|
ipa3_ctx->ipa_hw_type = IPA_HW_v5_5;
|
||||||
|
}
|
||||||
|
|
||||||
if (ipa3_ctx->ipa_hw_type < IPA_HW_v3_0) {
|
if (ipa3_ctx->ipa_hw_type < IPA_HW_v3_0) {
|
||||||
pr_err(":IPA version below 3.0 not supported\n");
|
pr_err(":IPA version below 3.0 not supported\n");
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
Reference in New Issue
Block a user