Jelajahi Sumber

msm: ipa3: enable tx-napi via ipa.c

since current issues with adding changes to the
dts, the tx-napi property is enabled now independently
of the dts.

Change-Id: I178bf6fe4e17bf107f98086a9fd52f4cad484950
Acked-by: Tal Gelbard <[email protected]>
Signed-off-by: Amir Levy <[email protected]>
Amir Levy 4 tahun lalu
induk
melakukan
1ef673d4aa
1 mengubah file dengan 1 tambahan dan 3 penghapusan
  1. 1 3
      drivers/platform/msm/ipa/ipa_v3/ipa.c

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

@@ -7706,9 +7706,7 @@ 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 =
-		of_property_read_bool(pdev->dev.of_node,
-			"qcom,tx-napi");
+	ipa_drv_res->tx_napi_enable = true;
 	IPADBG(": Enable tx NAPI = %s\n",
 		ipa_drv_res->tx_napi_enable
 		? "True" : "False");