diff options
author | DENG Qingfang <[email protected]> | 2022-02-09 22:39:47 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-02-15 14:21:01 +0000 |
commit | 525b108e6d95b643eccbd84fb10aa9aa101b18dd (patch) | |
tree | 39174e7615e6291d3d5ea610841ea6ad94b4e9bb /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 032062f363b4bf02b1d547f329aa5d97b6a17410 (diff) |
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: e40d2cca0189 ("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]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions