UPSTREAM: igc: Fix infinite loop in release_swfw_sync
[ Upstream commit 907862e9 ] 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: c0071c7a ("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> Signed-off-by:
Sasha Levin <sashal@kernel.org> (cherry picked from commit f9d5d17d) Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com> Change-Id: I0d06870fa568a796da2ee4610d71f5ad67768354
Loading
Please sign in to comment