Loading drivers/net/ethernet/sfc/efx.c +16 −12 Original line number Diff line number Diff line Loading @@ -2729,12 +2729,14 @@ static int efx_pm_freeze(struct device *dev) rtnl_lock(); if (efx->state != STATE_DISABLED) { efx->state = STATE_UNINIT; netif_device_detach(efx->net_dev); efx_stop_all(efx); efx_stop_interrupts(efx, false); } rtnl_unlock(); Loading @@ -2747,6 +2749,7 @@ static int efx_pm_thaw(struct device *dev) rtnl_lock(); if (efx->state != STATE_DISABLED) { efx_start_interrupts(efx, false); mutex_lock(&efx->mac_lock); Loading @@ -2760,6 +2763,7 @@ static int efx_pm_thaw(struct device *dev) efx->state = STATE_READY; efx->type->resume_wol(efx); } rtnl_unlock(); Loading Loading
drivers/net/ethernet/sfc/efx.c +16 −12 Original line number Diff line number Diff line Loading @@ -2729,12 +2729,14 @@ static int efx_pm_freeze(struct device *dev) rtnl_lock(); if (efx->state != STATE_DISABLED) { efx->state = STATE_UNINIT; netif_device_detach(efx->net_dev); efx_stop_all(efx); efx_stop_interrupts(efx, false); } rtnl_unlock(); Loading @@ -2747,6 +2749,7 @@ static int efx_pm_thaw(struct device *dev) rtnl_lock(); if (efx->state != STATE_DISABLED) { efx_start_interrupts(efx, false); mutex_lock(&efx->mac_lock); Loading @@ -2760,6 +2763,7 @@ static int efx_pm_thaw(struct device *dev) efx->state = STATE_READY; efx->type->resume_wol(efx); } rtnl_unlock(); Loading