Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc1e0a09 authored by Domen Puncer's avatar Domen Puncer Committed by Jeff Garzik
Browse files

phy layer: fix genphy_setup_forced (don't reset)



Writing BMCR_RESET bit will reset MII_BMCR to default values. This is
clearly not what we want.

Signed-off-by: default avatarDomen Puncer <domen.puncer@telargo.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 09e06f65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -364,7 +364,7 @@ EXPORT_SYMBOL(genphy_config_advert);
 */
int genphy_setup_forced(struct phy_device *phydev)
{
	int ctl = BMCR_RESET;
	int ctl = 0;

	phydev->pause = phydev->asym_pause = 0;