Merge "msm: ipa3: debug change"
diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa.c b/drivers/platform/msm/ipa/ipa_v3/ipa.c
index 9e9e4a9..ca6afff 100644
--- a/drivers/platform/msm/ipa/ipa_v3/ipa.c
+++ b/drivers/platform/msm/ipa/ipa_v3/ipa.c
@@ -9919,6 +9919,10 @@
 		IPAERR(":get resource failed for ipa-hw-ver\n");
 		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);
 
 	if (ipa_drv_res->ipa_hw_type < IPA_HW_v3_0) {
@@ -11243,6 +11247,10 @@
 		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) {
 		pr_err(":IPA version below 3.0 not supported\n");
 		return -ENODEV;