Skip to content

Commit

Permalink
e1000e: release hw semaphore after successfully writing EEPROM
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arthur Jones authored and David S. Miller committed Oct 8, 2008
1 parent 2f7ca80 commit 1694f25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/e1000e/lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1694f25

Please sign in to comment.