]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit63ec1c7c3f3b55b7e126d5fb54744869f2b6608e
tree945a4aca250c68e88d21bf8c08bff871a6e9278e
parenteefa6f1fa74f20420e536a79fa7e2c539b036be0
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