mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-17 19:11:38 +04:00
fb874fcef7
Besides converting some functions to regmap do some minor refactoring for rteth_931x_init_mac(). - Use dev_err() instead of classic print functions - Harmonize ALE_INIT error handling. ALE_INIT_2 has the same logic as the other registers. The reset is finished as soon as the register is completely zero. - From testing 100ms poll timeout seems to be sufficient Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/23067 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>