Loading drivers/platform/msm/ipa/ipa_v2/rmnet_ipa.c +12 −1 Original line number Diff line number Diff line Loading @@ -2307,6 +2307,12 @@ static int rmnet_ipa_ap_suspend(struct device *dev) /* Make sure that there is no Tx operation ongoing */ netif_tx_lock_bh(netdev); netif_stop_queue(netdev); /* Stoppig Watch dog timer when pipe was in suspend state */ if (del_timer(&netdev->watchdog_timer)) dev_put(netdev); ipa_rm_release_resource(IPA_RM_RESOURCE_WWAN_0_PROD); netif_tx_unlock_bh(netdev); IPAWANDBG_LOW("Exit\n"); Loading @@ -2329,7 +2335,12 @@ static int rmnet_ipa_ap_resume(struct device *dev) struct net_device *netdev = ipa_netdevs[0]; IPAWANDBG_LOW("Enter...\n"); if (netdev) { netif_wake_queue(netdev); /* Starting Watch dog timer, pipe was changes to resume state */ if (netif_running(netdev) && netdev->watchdog_timeo <= 0) __netdev_watchdog_up(netdev); } IPAWANDBG_LOW("Exit\n"); return 0; Loading drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c +8 −1 Original line number Diff line number Diff line Loading @@ -2598,6 +2598,9 @@ static int rmnet_ipa_ap_suspend(struct device *dev) /* Make sure that there is no Tx operation ongoing */ netif_stop_queue(netdev); /* Stoppig Watch dog timer when pipe was in suspend state */ if (del_timer(&netdev->watchdog_timer)) dev_put(netdev); netif_tx_unlock_bh(netdev); if (ipa3_ctx->use_ipa_pm) ipa_pm_deactivate_sync(rmnet_ipa3_ctx->pm_hdl); Loading @@ -2624,8 +2627,12 @@ static int rmnet_ipa_ap_resume(struct device *dev) struct net_device *netdev = IPA_NETDEV(); IPAWANDBG("Enter...\n"); if (netdev) if (netdev) { netif_wake_queue(netdev); /* Starting Watch dog timer, pipe was changes to resume state */ if (netif_running(netdev) && netdev->watchdog_timeo <= 0) __netdev_watchdog_up(netdev); } IPAWANDBG("Exit\n"); return 0; Loading Loading
drivers/platform/msm/ipa/ipa_v2/rmnet_ipa.c +12 −1 Original line number Diff line number Diff line Loading @@ -2307,6 +2307,12 @@ static int rmnet_ipa_ap_suspend(struct device *dev) /* Make sure that there is no Tx operation ongoing */ netif_tx_lock_bh(netdev); netif_stop_queue(netdev); /* Stoppig Watch dog timer when pipe was in suspend state */ if (del_timer(&netdev->watchdog_timer)) dev_put(netdev); ipa_rm_release_resource(IPA_RM_RESOURCE_WWAN_0_PROD); netif_tx_unlock_bh(netdev); IPAWANDBG_LOW("Exit\n"); Loading @@ -2329,7 +2335,12 @@ static int rmnet_ipa_ap_resume(struct device *dev) struct net_device *netdev = ipa_netdevs[0]; IPAWANDBG_LOW("Enter...\n"); if (netdev) { netif_wake_queue(netdev); /* Starting Watch dog timer, pipe was changes to resume state */ if (netif_running(netdev) && netdev->watchdog_timeo <= 0) __netdev_watchdog_up(netdev); } IPAWANDBG_LOW("Exit\n"); return 0; Loading
drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c +8 −1 Original line number Diff line number Diff line Loading @@ -2598,6 +2598,9 @@ static int rmnet_ipa_ap_suspend(struct device *dev) /* Make sure that there is no Tx operation ongoing */ netif_stop_queue(netdev); /* Stoppig Watch dog timer when pipe was in suspend state */ if (del_timer(&netdev->watchdog_timer)) dev_put(netdev); netif_tx_unlock_bh(netdev); if (ipa3_ctx->use_ipa_pm) ipa_pm_deactivate_sync(rmnet_ipa3_ctx->pm_hdl); Loading @@ -2624,8 +2627,12 @@ static int rmnet_ipa_ap_resume(struct device *dev) struct net_device *netdev = IPA_NETDEV(); IPAWANDBG("Enter...\n"); if (netdev) if (netdev) { netif_wake_queue(netdev); /* Starting Watch dog timer, pipe was changes to resume state */ if (netif_running(netdev) && netdev->watchdog_timeo <= 0) __netdev_watchdog_up(netdev); } IPAWANDBG("Exit\n"); return 0; Loading