diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-10-18 10:21:46 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-11-25 12:05:43 +0000 |
commit | adf5132fe8d269c568593e0cd0ed7d5d95d2f938 (patch) | |
tree | fe0e349f9535b62575d2161eeb952e8335270537 /drivers/platform | |
parent | 627f387b78135fbd0b40a6e62e623c9f8db0eeff (diff) |
net: sfp: eliminate mdelay() from PHY probe
Rather than using mdelay() to wait before probing the PHY (which holds
several locks, including the rtnl lock), add an extra wait state to
the state machine to introduce the 50ms delay without holding any
locks.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions