1
0
Fork 0
alistair23-linux/drivers/net/dsa/sja1105
Vladimir Oltean f668376ad5 net: dsa: sja1105: Don't error out on disabled ports with no phy-mode
[ Upstream commit 27afe0d34e ]

The sja1105_parse_ports_node function was tested only on device trees
where all ports were enabled. Fix this check so that the driver
continues to probe only with the ports where status is not "disabled",
as expected.

Fixes: 8aa9ebccae ("net: dsa: Introduce driver for NXP SJA1105 5-port L2 switch")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-23 08:22:52 +01:00
..
Kconfig net: dsa: sja1105: improve NET_DSA_SJA1105_TAS dependency 2019-10-28 16:33:42 -07:00
Makefile net: dsa: sja1105: Configure the Time-Aware Scheduler via tc-taprio offload 2019-09-16 21:32:58 +02:00
sja1105.h net: dsa: sja1105: Use the correct style for SPDX License Identifier 2019-10-15 20:16:26 -07:00
sja1105_clocking.c net: dsa: sja1105: Add RGMII delay support for P/Q/R/S chips 2019-06-09 20:06:54 -07:00
sja1105_dynamic_config.c net: dsa: sja1105: Add static config tables for scheduling 2019-09-16 21:32:57 +02:00
sja1105_dynamic_config.h net: dsa: sja1105: Use the correct style for SPDX License Identifier 2019-10-15 20:16:26 -07:00
sja1105_ethtool.c net: dsa: sja1105: Fix status initialization in sja1105_get_ethtool_stats 2019-05-07 12:20:46 -07:00
sja1105_main.c net: dsa: sja1105: Don't error out on disabled ports with no phy-mode 2020-01-23 08:22:52 +01:00
sja1105_ptp.c net: dsa: sja1105: Really fix panic on unregistering PTP clock 2019-08-06 14:37:02 -07:00
sja1105_ptp.h net: dsa: sja1105: Use the correct style for SPDX License Identifier 2019-10-15 20:16:26 -07:00
sja1105_spi.c net: dsa: sja1105: Prevent leaking memory 2019-09-30 17:24:43 -07:00
sja1105_static_config.c net: dsa: sja1105: Reconcile the meaning of TPID and TPID2 for E/T and P/Q/R/S 2020-01-04 19:19:06 +01:00
sja1105_static_config.h net: dsa: sja1105: Use the correct style for SPDX License Identifier 2019-10-15 20:16:26 -07:00
sja1105_tas.c net: dsa: sja1105: Configure the Time-Aware Scheduler via tc-taprio offload 2019-09-16 21:32:58 +02:00
sja1105_tas.h net: dsa: sja1105: Use the correct style for SPDX License Identifier 2019-10-15 20:16:26 -07:00