diff options
author | 2019-11-10 14:07:20 +0000 | |
---|---|---|
committer | 2019-11-11 16:17:01 -0800 | |
commit | b036a554d0806a711cdd0abb4f5fdbbf0253cc46 (patch) | |
tree | 5207b1740f908e34c79ecb61344994f47af7c151 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: sfp: track upstream's attachment state in state machine (diff) | |
download | linux-rng-b036a554d0806a711cdd0abb4f5fdbbf0253cc46.tar.xz linux-rng-b036a554d0806a711cdd0abb4f5fdbbf0253cc46.zip |
net: sfp: split power mode switching from probe
Switch the power mode switching from the probe, so that we don't
repeatedly re-probe the SFP device if there is a problem accessing
the registers at I2C address 0x51.
In splitting this out, we can also fix a bug where we leave the module
in high-power mode when the upstream device is detached but the module
is still inserted.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
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