diff options
author | Siddharth Vadapalli <s-vadapalli@ti.com> | 2022-05-24 11:55:58 +0530 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-25 21:49:25 -0700 |
commit | 0b7180072a9df5e18af5b58410fec38230848a8d (patch) | |
tree | 37690abb5d14691c42117937f41c47d12e28cea8 /drivers/ptp | |
parent | 1679ea99bcfa8c68518b04c87992b2b2fc096513 (diff) |
net: ethernet: ti: am65-cpsw: Fix fwnode passed to phylink_create()
am65-cpsw-nuss driver incorrectly uses fwnode member of common
ethernet device's "struct device_node" instead of using fwnode
member of the port's "struct device_node" in phylink_create().
This results in all ports having the same phy data when there
are multiple ports with their phy properties populated in their
respective nodes rather than the common ethernet device node.
Fix it here by using fwnode member of the port's node.
Fixes: e8609e69470f ("net: ethernet: ti: am65-cpsw: Convert to PHYLINK")
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Link: https://lore.kernel.org/r/20220524062558.19296-1-s-vadapalli@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions