Commit dfe15779 authored by Ganesh Venkatesan's avatar Ganesh Venkatesan Committed by Jeff Garzik

[PATCH] e1000: fix eeprom update to include e1000_standby_eeprom

A Bug in e1000_spi_eeprom_ready where the Chip Select bit wasn't being 
toggled after every status register read (if the eeprom wasn't ready after 
the first status register read). The call to e1000_standby_eeprom manages 
the CS bit correctly
parent ea225c9f
...@@ -3344,6 +3344,7 @@ e1000_spi_eeprom_ready(struct e1000_hw *hw) ...@@ -3344,6 +3344,7 @@ e1000_spi_eeprom_ready(struct e1000_hw *hw)
udelay(5); udelay(5);
retry_count += 5; retry_count += 5;
e1000_standby_eeprom(hw);
} while(retry_count < EEPROM_MAX_RETRY_SPI); } while(retry_count < EEPROM_MAX_RETRY_SPI);
/* ATMEL SPI write time could vary from 0-20mSec on 3.3V devices (and /* ATMEL SPI write time could vary from 0-20mSec on 3.3V devices (and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment