diff options
author | Jaedon Shin <jaedon.shin@gmail.com> | 2016-02-19 13:48:50 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-19 23:51:40 -0500 |
commit | d07c0278da1f4cfc91c3d46d0d07a0d13a949892 (patch) | |
tree | 94a7153e47f33dd6d2c8c5f17edad1f122782fb9 /net | |
parent | 18eceb818dc37bbc783ec7ef7703f270cc6cd281 (diff) | |
download | linux-d07c0278da1f4cfc91c3d46d0d07a0d13a949892.tar.gz linux-d07c0278da1f4cfc91c3d46d0d07a0d13a949892.tar.bz2 linux-d07c0278da1f4cfc91c3d46d0d07a0d13a949892.zip |
net: bcmgenet: Fix internal PHY link state
The PHY link state is not chaged in GENETv2 caused by the previous
commit 49f7a471e4d1 ("net: bcmgenet: Properly configure PHY to ignore
interrupt") was set to PHY_IGNORE_INTERRUPT in bcmgenet_mii_probe().
The internal PHY should use phy_mac_interrupt() when not in use
PHY_POLL. The statement for phy_mac_interrupt() has two conditions. The
first condition to check GENET_HAS_MDIO_INTR is not related PHY link
state, so this patch removes it.
Fixes: 49f7a471e4d1 ("net: bcmgenet: Properly configure PHY to ignore interrupt")
Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions