diff options
author | Jacky Chou <jacky_chou@aspeedtech.com> | 2024-10-07 06:24:35 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-10 03:56:55 +0300 |
commit | 70a0da8c113555fe14bb6db8e5180f8fc2c18385 (patch) | |
tree | 6105b7bd3a31e6ca634b0c74722194844083f505 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 983e35ce2e1ee4037f6f5d5398dfc107b22ad569 (diff) | |
download | linux-70a0da8c113555fe14bb6db8e5180f8fc2c18385.tar.xz |
net: ftgmac100: fixed not check status from fixed phy
Add error handling from calling fixed_phy_register.
It may return some error, therefore, need to check the status.
And fixed_phy_register needs to bind a device node for mdio.
Add the mac device node for fixed_phy_register function.
This is a reference to this function, of_phy_register_fixed_link().
Fixes: e24a6c874601 ("net: ftgmac100: Get link speed and duplex for NC-SI")
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Link: https://patch.msgid.link/20241007032435.787892-1-jacky_chou@aspeedtech.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions