mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 03:06:35 +00:00
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: 60fadae62b
("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>
This commit is contained in:
parent
3f1be8edee
commit
7eb0458c1f
@ -149,7 +149,7 @@ void fe_reset_fe(struct fe_priv *priv)
|
||||
reset_control_assert(priv->resets);
|
||||
usleep_range(60, 120);
|
||||
reset_control_deassert(priv->resets);
|
||||
usleep_range(60, 120);
|
||||
usleep_range(1000, 1200);
|
||||
}
|
||||
|
||||
static inline void fe_int_disable(u32 mask)
|
||||
|
Loading…
Reference in New Issue
Block a user