diff options
author | Yanir Lubetkin <yanirx.lubetkin@intel.com> | 2015-06-10 01:15:05 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-06-26 02:38:28 -0700 |
commit | beb0a1520bec17cfaf0c3c77bbdd56cbf942883a (patch) | |
tree | a19acf66153d6745906588bf748e843e69f04a5d /drivers/net/ethernet/intel/e1000e/ich8lan.c | |
parent | 73cd63598dcbc95f51d5becf548e0643aa7a49fa (diff) |
e1000e: fix locking issue with e1000e_disable_aspm
e1000e_disable_aspm called pci_disable_link_state_locked which requires
pci_bus_sem to be held, but is also called from places where this semaphore
was not previously acquired. This patch implements two flavors of
disable_aspm, one that acquires the lock, and the other (_locked) which
should be called when the semaphore is already acquired.
Signed-off-by: Yanir Lubetkin <yanirx.lubetkin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/ich8lan.c')
0 files changed, 0 insertions, 0 deletions