android_kernel_oneplus_msm8998/drivers/net/phy
Russell King 87ddeaaa0b net: phy: avoid genphy_aneg_done() for PHYs without clause 22 support
[ Upstream commit 41408ad519f7a2a1c5229e61f2a97f4df1b61adc ]

Avoid calling genphy_aneg_done() for PHYs that do not implement the
Clause 22 register set.

Clause 45 PHYs may implement the Clause 22 register set along with the
Clause 22 extension MMD.  Hence, we can't simply block access to the
Clause 22 functions based on the PHY being a Clause 45 PHY.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-13 19:50:18 +02:00
..
amd.c
aquantia.c
at803x.c net: phy: at803x: Change error to EINVAL for invalid MAC 2017-12-25 14:22:14 +01:00
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h
bcm7xxx.c
bcm63xx.c
bcm87xx.c
broadcom.c
cicada.c
davicom.c
dp83640.c net: dp83640: Avoid NULL pointer dereference. 2017-07-21 07:44:54 +02:00
dp83640_reg.h
dp83848.c
dp83867.c net: phy: dp83867: fix irq generation 2017-08-11 09:08:56 -07:00
et1011c.c
fixed_phy.c
icplus.c
Kconfig
lxt.c
Makefile
marvell.c net: phy: fix marvell phy status reading 2017-06-29 12:48:53 +02:00
mdio-bcm-iproc.c net: phy: Initialize mdio clock at probe function 2017-06-29 12:48:53 +02:00
mdio-bcm-unimac.c
mdio-bitbang.c
mdio-gpio.c
mdio-moxart.c
mdio-mux-gpio.c
mdio-mux-mmioreg.c
mdio-mux.c
mdio-octeon.c
mdio-sun4i.c mdio-sun4i: Fix a memory leak 2018-03-03 10:19:45 +01:00
mdio_bus.c
micrel.c net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround 2018-01-02 20:33:26 +01:00
microchip.c
national.c
phy.c net: phy: avoid genphy_aneg_done() for PHYs without clause 22 support 2018-04-13 19:50:18 +02:00
phy_device.c net: phy: Fix PHY unbind crash 2017-08-11 09:08:55 -07:00
qsemi.c
realtek.c
smsc.c
spi_ks8995.c spi_ks8995: fix "BUG: key accdaa28 not in .data!" 2017-12-16 10:33:53 +01:00
ste10Xp.c
teranetics.c
vitesse.c