]> 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)
commit1739ba9004421fe0183cb5633ea628d38324fea3
tree945a4aca250c68e88d21bf8c08bff871a6e9278e
parentc6bc237c4113d3a12f18d5c21867c2e42b634bbf
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