]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Save PCI state before suspend
authorGreg Rose <gregory.v.rose@intel.com>
Mon, 16 May 2016 17:26:38 +0000 (10:26 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 27 Jun 2016 22:43:39 +0000 (15:43 -0700)
commit840c4fde72d2b98645aa4335e4bae5d2d74216b4
tree1427a82f44f6f77616e09b262e7a3d4a369386cd
parent7728d2823b804479d4150326d07e8086faecfd99
i40e: Save PCI state before suspend

The i40e_suspend() function was failing to save PCI state
and this would result in a kernel stack trace from a WARN_ONCE in the
pci_legacy_suspend() function.

Add a call to pci_save_state() to fix that problem.

Change-ID: I4736e62bb660966bd208cc8af617a14cb07fc4bd
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c