diff options
author | Doug Berger <opendmb@gmail.com> | 2019-10-17 01:06:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-18 19:00:07 +0200 |
commit | 7de48402faa32298c3551ea32c76ccb4f9d3025d (patch) | |
tree | 1bbc59f7f943d26a37cd899f4d90879c350a3b94 /drivers/clk/clk-gemini.c | |
parent | net: Update address for MediaTek ethernet driver in MAINTAINERS (diff) | |
download | linux-7de48402faa32298c3551ea32c76ccb4f9d3025d.tar.xz linux-7de48402faa32298c3551ea32c76ccb4f9d3025d.zip |
net: bcmgenet: don't set phydev->link from MAC
When commit 28b2e0d2cd13 ("net: phy: remove parameter new_link from
phy_mac_interrupt()") removed the new_link parameter it set the
phydev->link state from the MAC before invoking phy_mac_interrupt().
However, once commit 88d6272acaaa ("net: phy: avoid unneeded MDIO
reads in genphy_read_status") was added this initialization prevents
the proper determination of the connection parameters by the function
genphy_read_status().
This commit removes that initialization to restore the proper
functionality.
Fixes: 88d6272acaaa ("net: phy: avoid unneeded MDIO reads in genphy_read_status")
Signed-off-by: Doug Berger <opendmb@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/clk/clk-gemini.c')
0 files changed, 0 insertions, 0 deletions