aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/sja1105/sja1105_ethtool.c
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2019-11-25 12:43:51 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-25 10:56:12 -0800
commit9bca3a0a923fc3f0fb9e41391be1d0f291e86858 (patch)
tree13aaf4cc6a3377ae777da0d5923184e9e2efd24f /drivers/net/dsa/sja1105/sja1105_ethtool.c
parentmacvlan: schedule bc_work even if error (diff)
downloadlinux-dev-9bca3a0a923fc3f0fb9e41391be1d0f291e86858.tar.xz
linux-dev-9bca3a0a923fc3f0fb9e41391be1d0f291e86858.zip
net: dsa: sja1105: fix sja1105_parse_rgmii_delays()
This function was using configuration of port 0 in devicetree for all ports. In case CPU port was not 0, the delay settings was ignored. This resulted not working communication between CPU and the switch. Fixes: f5b8631c293b ("net: dsa: sja1105: Error out if RGMII delays are requested in DT") Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_ethtool.c')
0 files changed, 0 insertions, 0 deletions