diff options
author | Sasha Neftin <sasha.neftin@intel.com> | 2022-03-01 15:32:10 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-04-13 07:58:32 -0700 |
commit | 907862e9aef75bf89e2b265efcc58870be06081e (patch) | |
tree | 4c630cc8d08bc0ef1d27fa2cf9a02566a6db9ffe /drivers/net/ethernet/intel/igc/igc_phy.c | |
parent | ef27324e2cb7bb24542d6cb2571740eefe6b00dc (diff) |
igc: Fix infinite loop in release_swfw_sync
An infinite loop may occur if we fail to acquire the HW semaphore,
which is needed for resource release.
This will typically happen if the hardware is surprise-removed.
At this stage there is nothing to do, except log an error and quit.
Fixes: c0071c7aa5fe ("igc: Add HW initialization code")
Suggested-by: Dima Ruinskiy <dima.ruinskiy@intel.com>
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_phy.c')
0 files changed, 0 insertions, 0 deletions