Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: phy: mediatek: remove PHY mode check on MT7531
The function mt7531_phy_mode_supported in the DSA driver set supported mode to PHY_INTERFACE_MODE_GMII instead of PHY_INTERFACE_MODE_INTERNAL for the internal PHY, so this check breaks the PHY initialization: mt7530 mdio-bus:00 wan (uninitialized): failed to connect to PHY: -EINVAL Remove the check to make it work again. Reported-by: Hauke Mehrtens <[email protected]> Fixes: e40d2cc ("net: phy: add MediaTek Gigabit Ethernet PHY driver") Signed-off-by: DENG Qingfang <[email protected]> Acked-by: Arınç ÜNAL <[email protected]> Tested-by: Hauke Mehrtens <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information