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>
このコミットが含まれているのは:
Jagadeesh Ponduru
2024-05-07 13:29:49 +05:30
コミット 94b277d162
2個のファイルの変更6行の追加10行の削除

ファイルの表示

@@ -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,
msecs_to_jiffies(QUEUE_DELAY_TIME));
if (ret) {
if (!ret) {
IPA_WDI_ERR("failed to queue delayed wq\n");
return 0;
}

ファイルの表示

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