Marek Behún 2148927e6e net: sfp: ignore disabled SFP node
Commit ce0aa27ff3f6 ("sfp: add sfp-bus to bridge between network devices
and sfp cages") added code which finds SFP bus DT node even if the node
is disabled with status = "disabled". Because of this, when phylink is
created, it ends with non-null .sfp_bus member, even though the SFP
module is not probed (because the node is disabled).

We need to ignore disabled SFP bus node.

Fixes: ce0aa27ff3f6 ("sfp: add sfp-bus to bridge between network devices and sfp cages")
Signed-off-by: Marek Behún <kabel@kernel.org>
Cc: stable@vger.kernel.org # 2203cbf2c8b5 ("net: sfp: move fwnode parsing into sfp-bus layer")
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-01-24 11:53:01 +00:00
..
2022-01-19 11:15:19 +02:00
2022-01-16 08:08:11 +02:00
2022-01-18 14:03:34 +02:00
2022-01-16 06:52:38 +02:00
2022-01-16 15:53:00 +02:00
2022-01-12 15:46:11 -08:00
2022-01-11 11:35:28 -08:00
2022-01-12 11:11:34 -08:00
2022-01-16 08:08:11 +02:00
2022-01-24 11:53:01 +00:00
2022-01-12 10:35:23 -08:00
2022-01-16 08:08:11 +02:00
2022-01-16 08:08:11 +02:00
2022-01-11 11:26:57 -08:00
2022-01-10 12:58:46 -08:00
2022-01-12 15:46:11 -08:00
2022-01-14 14:55:38 +01:00
2022-01-10 08:13:52 -08:00
2022-01-14 14:55:38 +01:00
2021-12-29 10:54:50 +01:00
2022-01-16 06:52:38 +02:00
2022-01-03 13:44:38 +01:00
2022-01-17 08:07:57 +02:00