Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

e1000e: release hw semaphore after successfully writing EEPROM

Since e1000e has been existance in linux-2.6, we've
never released the hardware semaphore after a successful
write to the SPI EEPROM. I guess we don't write to
SPI EEPROM much -- but those few of us that do appreciate
it when we can later read from the EEPROM without having
to reboot.

Found-by: Nick Van Fossen <Nick.VanFossen@riverbed.com>
Signed-off-by: Arthur Jones <ajones@riverbed.com>
Reviewed-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Arthur Jones and committed by
David S. Miller
1694f25b 2f7ca802

+1
+1
drivers/net/e1000e/lib.c
··· 2012 2012 } 2013 2013 2014 2014 msleep(10); 2015 + nvm->ops.release_nvm(hw); 2015 2016 return 0; 2016 2017 } 2017 2018