diff options
author | 2019-11-10 14:06:59 +0000 | |
---|---|---|
committer | 2019-11-11 16:17:01 -0800 | |
commit | eefa6f1fa74f20420e536a79fa7e2c539b036be0 (patch) | |
tree | efa9729b285cc266fa728e710cd3b7b0c85edc5d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: sfp: split the PHY probe from sfp_sm_mod_init() (diff) | |
download | linux-rng-eefa6f1fa74f20420e536a79fa7e2c539b036be0.tar.xz linux-rng-eefa6f1fa74f20420e536a79fa7e2c539b036be0.zip |
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>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions