commit | 0cda160418583c066a17a2881babd3522c08e859 | [log] [tgz] |
---|---|---|
author | Kevin Lo <kevlo@kevlo.org> | Sun Dec 20 22:18:19 2020 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Feb 10 09:29:13 2021 +0100 |
tree | f0c8d4e6e29054a7423963556c8737601b1d2db4 | |
parent | 8e081627f3a7f733a4955ee40b385c972f010f05 [diff] |
igc: set the default return value to -IGC_ERR_NVM in igc_write_nvm_srwr [ Upstream commit ebc8d125062e7dccb7922b2190b097c20d88ad96 ] 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: ab4056126813 ("igc: Add NVM support") Signed-off-by: Kevin Lo <kevlo@kevlo.org> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>