From: Arthur Jones Date: Mon, 29 Sep 2008 11:51:09 +0000 (+0000) Subject: e1000e: release hw semaphore after successfully writing EEPROM X-Git-Tag: v2.6.28-rc1~717^2~63 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1694f25b4beb80b911fb21efcff36acca39aa696;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Arthur Jones Reviewed-by: Auke Kok Signed-off-by: David S. Miller --- diff --git a/drivers/net/e1000e/lib.c b/drivers/net/e1000e/lib.c index c7337306ffa..089578f6855 100644 --- a/drivers/net/e1000e/lib.c +++ b/drivers/net/e1000e/lib.c @@ -2012,6 +2012,7 @@ s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) } msleep(10); + nvm->ops.release_nvm(hw); return 0; }