diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-11-16 19:43:01 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-18 22:24:44 +0300 |
commit | a3dcb3e7e70c72a68a79b30fc3a3adad5612731c (patch) | |
tree | 140bb8b5445fdb32c135012e182d2891f7bb0ec9 /mm/page_alloc.c | |
parent | fc2635bff24c6b75291ead011c16da7a053fb4f5 (diff) | |
download | linux-a3dcb3e7e70c72a68a79b30fc3a3adad5612731c.tar.xz |
net: dsa: mv88e6xxx: Wait for EEPROM done after HW reset
When the switch is hardware reset, it reads the contents of the
EEPROM. This can contain instructions for programming values into
registers and to perform waits between such programming. Reading the
EEPROM can take longer than the 100ms mv88e6xxx_hardware_reset() waits
after deasserting the reset GPIO. So poll the EEPROM done bit to
ensure it is complete.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Ruslan Sushko <rus@sushko.dev>
Link: https://lore.kernel.org/r/20201116164301.977661-1-rus@sushko.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions