i40e: Assure that adminq is alive in debug mode
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 10 Mar 2016 22:59:44 +0000 (14:59 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 5 Apr 2016 10:00:42 +0000 (03:00 -0700)
commitde03d2b0ef6520cf9da2e429cd7afb534782b737
treefe78ff4e7814c679e5b2a6ed8e467604b72eed74
parent692783980ad6163e8586baa36c066cd0d22fc7ce
i40e: Assure that adminq is alive in debug mode

When dropping into debug mode in a failed probe, make sure that
the AdminQ is left alive for possible hand debug of driver and
firmware states.

Move the mutex_init calls earlier in probe so that if init fails,
the admin queue interface is still available for debugging purposes.

Signed-off-by: Shannon Nelson <shannon.nelson@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