瀏覽代碼

ipa: revert tx-napi to be enabled via dts

This is a revert of a temporary change:
I178bf6fe4e17bf107f98086a9fd52f4cad484950

Was done since issues with the dts was resolved.

Change-Id: I7fec695989bee54f96c8cbe6c8f30dcce4a1e005
Acked-by: Tal Gelbard <[email protected]>
Signed-off-by: Amir Levy <[email protected]>
Amir Levy 4 年之前
父節點
當前提交
7fa129bfd4
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      drivers/platform/msm/ipa/ipa_v3/ipa.c

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

@@ -7730,7 +7730,9 @@ static int get_ipa_dts_configuration(struct platform_device *pdev,
 	IPADBG(": Read GPI or GCI Event RP from DDR = %s\n",
 	       ipa_drv_res->ipa_gpi_event_rp_ddr ? "True" : "False");
 
-	ipa_drv_res->tx_napi_enable = true;
+	ipa_drv_res->tx_napi_enable = 
+		of_property_read_bool(pdev->dev.of_node,
+		"qcom,tx-napi");
 	IPADBG(": Enable tx NAPI = %s\n",
 		ipa_drv_res->tx_napi_enable
 		? "True" : "False");