net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset
If the switch is reset during active EEPROM transactions, as in just after an SoC reset after power up, the I2C bus transaction may be cut short leaving the EEPROM internal I2C state machine in the wrong state. When the switch is reset again, the bad state machine state may result in data being read from the wrong memory location causing the switch to enter unexpected mode rendering it inoperational. Fixes: a3dcb3e7 ("net: dsa: mv88e6xxx: Wait for EEPROM done after HW reset") Signed-off-by: Alfred Lee <l00g33k@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20230815001323.24739-1-l00g33k@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
parent
de4c5efe
-
mentioned in commit df83af3b
-
mentioned in commit ff4ad046
-
mentioned in commit 773075d3
-
mentioned in commit fc3d82d2
-
mentioned in commit aa670bde
-
mentioned in commit 6ccf50d4
-
mentioned in commit d44346dd
-
mentioned in commit 2801a1dd
-
mentioned in commit 89920552
-
mentioned in commit a003d499
-
mentioned in commit ee049d5e
Please register or sign in to comment