Skip to content
Commit 0cda1604 authored by Kevin Lo's avatar Kevin Lo Committed by Greg Kroah-Hartman
Browse files

igc: set the default return value to -IGC_ERR_NVM in igc_write_nvm_srwr



[ Upstream commit ebc8d125 ]

This patch sets the default return value to -IGC_ERR_NVM in
igc_write_nvm_srwr. Without this change it wouldn't lead to a shadow RAM
write EEWR timeout.

Fixes: ab405612 ("igc: Add NVM support")
Signed-off-by: default avatarKevin Lo <kevlo@kevlo.org>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8e081627
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment