Daniel Golle faa5f17fe2 kernel: mtk_eth_soc: release MAC_MCR_FORCE_LINK only when MAC is up
Clearing bit MAC_MCR_FORCE_LINK which forces the link down too early
can result in MAC ending up in a broken/blocked state.

Fix this by handling this bit in the .mac_link_up and .mac_link_down
calls instead of in .mac_finish.

Suggested-by: Mason-cw Chang <Mason-cw.Chang@mediatek.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-03-11 19:14:14 +00:00
..
2024-01-19 21:24:44 +01:00
2024-03-07 19:30:54 +01:00
2024-03-05 00:23:59 +01:00
2024-01-06 10:53:39 +01:00
2024-03-07 19:30:54 +01:00
2023-10-27 19:43:06 +01:00
2024-03-05 00:23:59 +01:00
2024-01-06 12:52:49 +01:00
2024-02-24 19:25:02 +01:00
2024-02-23 18:05:09 +01:00
2023-07-01 12:54:30 +02:00
2024-03-07 19:30:54 +01:00
2024-02-13 19:05:48 +01:00
2024-01-01 02:34:48 +01:00
2023-12-02 14:06:56 +02:00
2023-09-23 13:10:28 +02:00