Преглед изворни кода

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");