openwrt/target/linux/ramips/files/drivers
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: 60fadae62b ("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 f393ffcac1)
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
2024-01-05 23:32:59 +01:00
..
mmc/host/mtk-mmc ramips: mtk-mcc: move cmd_buf for dbg under ifdef 2023-05-12 03:15:38 +02:00
mtd/nand/raw ramips: correct page read return value of the mt7621 nand driver 2023-05-29 14:17:52 +02:00
net/ethernet/ralink raimps: mtk_eth_soc: drop rst_esw from ESW driver 2024-01-05 23:32:59 +01:00
pinctrl kernel: remove obsolete kernel version switches 2023-05-20 15:19:14 +02:00