![]() commit de96f6a3003513c796bbe4e23210a446913f5c00 upstream. This change fixes a rare issue where the PHY fails to detect a link due to incorrect reset behavior. The SW_RESET definition was incorrectly assigned to bit 14, which is the Digital Restart bit according to the datasheet. This commit corrects SW_RESET to bit 15 and assigns DIG_RESTART to bit 14 as per the datasheet specifications. The SW_RESET define is only used in the phy_reset function, which fully re-initializes the PHY after the reset is performed. The change in the bit definitions should not have any negative impact on the functionality of the PHY. v2: - added Fixes tag - improved commit message Cc: stable@vger.kernel.org Fixes: 5dc39fd5ef35 ("net: phy: DP83822: Add ability to advertise Fiber connection") Signed-off-by: Alex Michel <alex.michel@wiedemann-group.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Message-ID: <AS1P250MB0608A798661549BF83C4B43EA9462@AS1P250MB0608.EURP250.PROD.OUTLOOK.COM> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
mscc | ||
adin.c | ||
amd.c | ||
aquantia.h | ||
aquantia_hwmon.c | ||
aquantia_main.c | ||
at803x.c | ||
ax88796b.c | ||
bcm-cygnus.c | ||
bcm-phy-lib.c | ||
bcm-phy-lib.h | ||
bcm7xxx.c | ||
bcm63xx.c | ||
bcm87xx.c | ||
bcm54140.c | ||
bcm84881.c | ||
broadcom.c | ||
cicada.c | ||
cortina.c | ||
davicom.c | ||
dp83tc811.c | ||
dp83640.c | ||
dp83640_reg.h | ||
dp83822.c | ||
dp83848.c | ||
dp83867.c | ||
dp83869.c | ||
et1011c.c | ||
fixed_phy.c | ||
icplus.c | ||
intel-xway.c | ||
Kconfig | ||
linkmode.c | ||
lxt.c | ||
Makefile | ||
marvell.c | ||
marvell10g.c | ||
mdio-boardinfo.c | ||
mdio-boardinfo.h | ||
mdio_bus.c | ||
mdio_device.c | ||
mdio_devres.c | ||
meson-gxl.c | ||
micrel.c | ||
microchip.c | ||
microchip_t1.c | ||
mii_timestamper.c | ||
national.c | ||
nxp-tja11xx.c | ||
phy-c45.c | ||
phy-core.c | ||
phy.c | ||
phy_device.c | ||
phy_led_triggers.c | ||
phylink.c | ||
qsemi.c | ||
realtek.c | ||
rockchip.c | ||
sfp-bus.c | ||
sfp.c | ||
sfp.h | ||
smsc.c | ||
spi_ks8995.c | ||
ste10Xp.c | ||
swphy.c | ||
swphy.h | ||
teranetics.c | ||
uPD60620.c | ||
vitesse.c | ||
xilinx_gmii2rgmii.c |