Merge "msm: ipa3: Add debug logs to check unregister netdev completion time"

This commit is contained in:
qctecmdr 2020-11-17 07:09:11 -08:00 committed by Gerrit - the friendly Code Review server
commit 5b70c8435f
3 changed files with 6 additions and 2 deletions

View File

@ -830,7 +830,9 @@ void ecm_ipa_cleanup(void *priv)
ecm_ipa_rules_destroy(ecm_ipa_ctx);
ecm_ipa_debugfs_destroy(ecm_ipa_ctx);
ECM_IPA_DEBUG("ECM_IPA unregister_netdev started\n");
unregister_netdev(ecm_ipa_ctx->net);
ECM_IPA_DEBUG("ECM_IPA unregister_netdev completed\n");
free_netdev(ecm_ipa_ctx->net);
ECM_IPA_INFO("ECM_IPA was destroyed successfully\n");

View File

@ -1401,8 +1401,9 @@ void rndis_ipa_cleanup(void *private)
rndis_ipa_debugfs_destroy(rndis_ipa_ctx);
RNDIS_IPA_DEBUG("debugfs remove was done\n");
RNDIS_IPA_DEBUG("RNDIS_IPA netdev unregister started\n");
unregister_netdev(rndis_ipa_ctx->net);
RNDIS_IPA_DEBUG("netdev unregistered\n");
RNDIS_IPA_DEBUG("RNDIS_IPA netdev unregister completed\n");
spin_lock_irqsave(&rndis_ipa_ctx->state_lock, flags);
next_state = rndis_ipa_next_state(rndis_ipa_ctx->state,

View File

@ -2764,8 +2764,9 @@ static int ipa3_wwan_remove(struct platform_device *pdev)
else
rmnet_ipa3_ctx->apps_to_ipa3_hdl = -1;
mutex_unlock(&rmnet_ipa3_ctx->pipe_handle_guard);
IPAWANINFO("rmnet_ipa unregister_netdev\n");
IPAWANDBG("rmnet_ipa unregister_netdev started\n");
unregister_netdev(IPA_NETDEV());
IPAWANDBG("rmnet_ipa unregister_netdev completed\n");
ipa3_wwan_deregister_netdev_pm_client();
cancel_work_sync(&ipa3_tx_wakequeue_work);
cancel_delayed_work(&ipa_tether_stats_poll_wakequeue_work);