summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-11-05 12:59:36 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2019-11-25 12:05:49 +0000
commit03cf53a94ff98b954ef7817a1d05e4cae0595f2f (patch)
treea35b95d87e91db8fc7e0f60d9c72c10f11f46c8d /kernel
parent12eaf7e9f504f1f849368bb07f9e7faeadc87dea (diff)
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions