ramips: mtk_eth_soc: wait longer after FE core reset to settle
authorMaxim Anisimov <maxim.anisimov.ua@gmail.com>
Sun, 10 Dec 2023 15:27:32 +0000 (16:27 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 5 Jan 2024 22:32:59 +0000 (23:32 +0100)
commit289515e003d1b0b0c9d3f2650aff53e0962d0cea
tree875f88f58cf13ca1b2553c5eb1dc22f617931f46
parent8ce87267ba1f79c3e6e358488ff7e1d4b976c7b7
ramips: mtk_eth_soc: wait longer after FE core reset to settle

Enabling the FE core too early causes the system to hang during boot
uncondtionally, after the reset is released. Increate it to 1-1.2ms
range.

Fixes: 60fadae62b64 ("ramips: ethernet: ralink: move reset of the esw into the esw instead of fe")
Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
[Split previous commit, provide rationale]
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
(cherry picked from commit 7eb0458c1f7e4f681b16d2721cfc3fcb69774c95)
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c