ixgbe: Fix CS4227-related semaphore error on reset failure
authorMark Rustad <mark.d.rustad@intel.com>
Wed, 26 Aug 2015 21:10:22 +0000 (14:10 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 15 Oct 2015 08:51:28 +0000 (01:51 -0700)
commit8bf7a7b879985321c63e3ae46fee4e7f0d654ab1
treef6a72b37bc8f4cb80ea4e1a5d73e496538e10cc0
parent72bfd32d2f84d26aa132dd74a8eef14d039d326f
ixgbe: Fix CS4227-related semaphore error on reset failure

If the reset never completes, it is necessary to retake the
semaphore before returning, because the caller will release
the semaphore.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Darin Miller <darin.j.miller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c