Files
linux/drivers/net/phy
DENG Qingfang 525b108e6d 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: e40d2cca01 ("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]>
2022-02-15 14:21:01 +00:00
..
…
…
…
…
2021-06-16 12:34:07 -07:00
2021-09-14 20:03:24 -07:00
…
…
2022-01-24 11:53:01 +00:00
…
2021-06-16 12:34:07 -07:00
…
…