]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: trigger state machine immediately in phy_start_machine
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 11 Oct 2018 17:31:47 +0000 (19:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:00:06 +0000 (22:00 -0700)
commitce2f0b2f442c03bb69843a0b7cd6db2ea6067851
tree17c28d99d5084cf46cc0154e555db0f663dfc92a
parent7ab5d0d588237be82e45b74cb9bb6c8a0f6c7a42
net: phy: trigger state machine immediately in phy_start_machine

When starting the state machine there may be work to be done
immediately, e.g. if the initial state is PHY_UP then the state
machine may trigger an autonegotiation. Having said that I see no need
to wait a second until the state machine is run first time.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c