[PATCH openEuler-5.10 v2 535/548] net: ethernet: mtk_eth_soc: fix error checking in mtk_mac_config()