]> git.baikalelectronics.ru Git - kernel.git/commit
net: sfp: allow fault processing to transition to other states
authorRussell King <rmk+kernel@armlinux.org.uk>
Sun, 10 Nov 2019 14:07:04 +0000 (14:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Nov 2019 00:17:01 +0000 (16:17 -0800)
commitdd39c5c78803f89f734ec3a66920ae81a441cae4
tree945a4aca250c68e88d21bf8c08bff871a6e9278e
parentade44740fe7ca9632ac699a0404dd59a347892e8
net: sfp: allow fault processing to transition to other states

Add the next state to sfp_sm_fault() so that it can branch to other
states. This will be necessary to improve the initialisation path.

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