]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: phy: marvell: fix m88e1011_set_downshift
authorMaxim Kochetkov <fido_max@inbox.ru>
Thu, 22 Apr 2021 10:46:43 +0000 (13:46 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Apr 2021 20:20:39 +0000 (13:20 -0700)
commit990875b299b8612aeb85cb2e2751796f1add65ff
tree343c3de3ca91361f9fdc5002748585e7739302f9
parenteefb45eef5c4c425e87667af8f5e904fbdd47abf
net: phy: marvell: fix m88e1011_set_downshift

Changing downshift params without software reset has no effect,
so call genphy_soft_reset() after change downshift params.

As the datasheet says:
Changes to these bits are disruptive to the normal operation therefore,
any changes to these registers must be followed by software reset
to take effect.

Fixes: 911af5e149bb ("net: phy: marvell: fix downshift function naming")
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c