msm: ipa: disable synx_init API calls and a minor fix

Disabling synx_init API calls in XR till they get enabled
by default and correct a minor return value check.

Change-Id: Ied80decbb973aa63f98c098e5a46805566a6850c
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
This commit is contained in:
Jagadeesh Ponduru
2024-05-07 13:29:49 +05:30
parent 18adbf787d
commit 94b277d162
2 changed files with 6 additions and 10 deletions

View File

@@ -884,7 +884,7 @@ int ipa_wdi_enable_pipes_per_inst(ipa_wdi_hdl_t hdl)
ret = queue_delayed_work(wlan_flt_rsrv_wq, &wlan_flt_rsrv_handle, ret = queue_delayed_work(wlan_flt_rsrv_wq, &wlan_flt_rsrv_handle,
msecs_to_jiffies(QUEUE_DELAY_TIME)); msecs_to_jiffies(QUEUE_DELAY_TIME));
if (ret) { if (!ret) {
IPA_WDI_ERR("failed to queue delayed wq\n"); IPA_WDI_ERR("failed to queue delayed wq\n");
return 0; return 0;
} }

View File

@@ -8294,15 +8294,11 @@ static int ipa3_post_init(const struct ipa3_plat_drv_res *resource_p,
goto fail_teth_bridge_driver_init; goto fail_teth_bridge_driver_init;
} }
result = ipa3_create_hfi_send_uc(); /*
if (result) { * Will enable synx_init API calls back when
IPAERR("HFI Creation failed %d\n", result); * hw-fence is enabled by default in builds.
ipa3_free_uc_temp_buffs(NO_OF_BUFFS); */
ipa3_free_uc_pipes_er_tr();
result = -ENODEV;
IPA_ACTIVE_CLIENTS_DEC_SIMPLE();
goto fail_teth_bridge_driver_init;
}
IPA_ACTIVE_CLIENTS_DEC_SIMPLE(); IPA_ACTIVE_CLIENTS_DEC_SIMPLE();
} }
#endif #endif