Lech Perczak 23506e7789 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>

(cherry picked from commit f393ffcac163926bf9dbbda47c25cc7809952609)
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
2024-01-05 23:32:59 +01:00
..
2023-08-10 21:07:50 +02:00
2023-09-25 23:04:37 +02:00
2023-11-19 14:44:36 +01:00
2023-10-08 16:52:48 +02:00
2023-08-10 21:07:50 +02:00
2023-10-29 13:00:28 +01:00
2023-08-10 21:07:50 +02:00
2023-11-19 14:44:36 +01:00
2023-07-06 17:04:13 +02:00
2023-08-10 21:07:50 +02:00
2023-11-19 14:44:36 +01:00
2023-10-08 16:52:48 +02:00
2023-06-17 12:09:03 +02:00
2023-10-31 00:44:03 +01:00
2023-09-25 23:04:37 +02:00
2023-11-25 20:17:09 +01:00