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>
Tue, 2 Jan 2024 20:56:52 +0000 (21:56 +0100)
commit7eb0458c1f7e4f681b16d2721cfc3fcb69774c95
treed36cb0390dc455584ee9f1455665fab91ca802d1
parent3f1be8edee29fe79fc33c88cbd9d647a490410e5
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>
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c