]> git.baikalelectronics.ru Git - kernel.git/commit
igb: call igb_ptp_suspend during suspend/resume cycle
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 24 May 2016 20:56:31 +0000 (13:56 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 29 Jun 2016 18:14:31 +0000 (11:14 -0700)
commit0fa6952690b4234103befe028042d5f4dcda2be3
tree9b75e68b35771773ddb256b9b1e00e84a5c23a77
parentf6116611da3ddb8552794f2189dcb2ac87845b10
igb: call igb_ptp_suspend during suspend/resume cycle

Properly stop the extra workqueue items and ensure that we resume
cleanly. This is better than using igb_ptp_init and igb_ptp_stop since
these functions destroy the PHC device, which will cause other problems
if we do so. Since igb_ptp_reset now re-schedules the work-queue item we
don't need an equivalent igb_ptp_resume in the resume workflow.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c