From 7fa129bfd4c26545945b6c77fd0c35e8408cf058 Mon Sep 17 00:00:00 2001 From: Amir Levy Date: Tue, 16 Jun 2020 16:02:57 +0300 Subject: [PATCH] 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 Signed-off-by: Amir Levy --- drivers/platform/msm/ipa/ipa_v3/ipa.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa.c b/drivers/platform/msm/ipa/ipa_v3/ipa.c index a50167cdfbe7..f9afc43c9968 100644 --- a/drivers/platform/msm/ipa/ipa_v3/ipa.c +++ b/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");