net: sfp: avoid tx-fault with Nokia GPON module
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 9 Dec 2019 13:40:23 +0000 (13:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Dec 2019 22:32:24 +0000 (14:32 -0800)
commit26c97a2d82c41938c3053d9ec27cdbcd8e34fb8b
tree22458de82426eb1afc96ab9eee59e7b0a338036f
parente70ac628289766bc2c81a0db161368b69da774fd
net: sfp: avoid tx-fault with Nokia GPON module

The Nokia GPON module can hold tx-fault active while it is initialising
which can take up to 60s. Avoid this causing the module to be declared
faulty after the SFP MSA defined non-cooled module timeout.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/sfp.c