Lech Perczak f393ffcac1 raimps: mtk_eth_soc: drop rst_esw from ESW driver
The ESW core needs to be reset together with FE core, so after the
relevant reset controller lines are moved under FE, drop rst_esw and all
related code, which would not execute anyway, because rst_esw would be
NULL. While at that, ensure that if reset line for EPHY cannot be
claimed, a proper error message is reported.

Fixes: 60fadae62b64 ("ramips: ethernet: ralink: move reset of the esw into the esw instead of fe")

Co-developed-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>

[Split out of the bigger commit, provide commit mesage, refactor error
handling]
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
2024-01-02 22:00:20 +01:00
..
2023-08-09 22:06:24 +02:00
2023-12-21 11:26:35 +01:00
2023-08-09 22:06:24 +02:00
2024-01-02 18:28:58 +01:00
2023-10-04 21:03:12 +02:00
2023-08-09 22:06:24 +02:00
2023-10-27 19:43:06 +01:00
2023-11-22 00:02:01 +01:00
2024-01-02 18:28:58 +01:00
2023-12-12 19:35:03 +01:00
2024-01-02 18:28:58 +01:00
2023-12-19 14:18:55 +01:00
2023-12-11 17:39:57 +01:00
2023-07-01 12:54:30 +02:00
2023-12-19 14:12:25 +01:00
2023-11-29 23:41:33 +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