Merge "msm: ipa3: enable napi lan rx before the pipes setup only to avoid race condition"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
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 */
|
/* setup the AP-IPA pipes */
|
||||||
if (ipa3_setup_apps_pipes()) {
|
if (ipa3_setup_apps_pipes()) {
|
||||||
IPAERR(":failed to setup IPA-Apps pipes\n");
|
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);
|
mutex_lock(&ipa3_ctx->lock);
|
||||||
ipa3_ctx->ipa_initialization_complete = true;
|
ipa3_ctx->ipa_initialization_complete = true;
|
||||||
mutex_unlock(&ipa3_ctx->lock);
|
mutex_unlock(&ipa3_ctx->lock);
|
||||||
ipa3_enable_napi_lan_rx();
|
|
||||||
/* init uc-activation tbl*/
|
/* init uc-activation tbl*/
|
||||||
ipa3_setup_uc_act_tbl();
|
ipa3_setup_uc_act_tbl();
|
||||||
ipa_trigger_ipa_ready_cbs();
|
ipa_trigger_ipa_ready_cbs();
|
||||||
|
Reference in New Issue
Block a user