Merge "msm: ipa3: enable napi lan rx before the pipes setup only to avoid race condition"

Этот коммит содержится в:
qctecmdr
2024-04-24 01:11:14 -07:00
коммит произвёл Gerrit - the friendly Code Review server
родитель f65bacd04f 65f57a5246
Коммит 883f45eb05

Просмотреть файл

@@ -8156,6 +8156,7 @@ static int ipa3_post_init(const struct ipa3_plat_drv_res *resource_p,
}
}
ipa3_enable_napi_lan_rx();
/* setup the AP-IPA pipes */
if (ipa3_setup_apps_pipes()) {
IPAERR(":failed to setup IPA-Apps pipes\n");
@@ -8253,7 +8254,6 @@ static int ipa3_post_init(const struct ipa3_plat_drv_res *resource_p,
mutex_lock(&ipa3_ctx->lock);
ipa3_ctx->ipa_initialization_complete = true;
mutex_unlock(&ipa3_ctx->lock);
ipa3_enable_napi_lan_rx();
/* init uc-activation tbl*/
ipa3_setup_uc_act_tbl();
ipa_trigger_ipa_ready_cbs();