igc: set the default return value to -IGC_ERR_NVM in igc_write_nvm_srwr
stable inclusion from stable-5.10.15 commit 0cda160418583c066a17a2881babd3522c08e859 bugzilla: 48167 -------------------------------- [ 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: NKevin Lo <kevlo@kevlo.org> Signed-off-by: NTony Nguyen <anthony.l.nguyen@intel.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录