]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: fix incorrect bit set in gmac4 mdio addr register
authorKweh, Hock Leong <hock.leong.kweh@intel.com>
Tue, 27 Dec 2016 20:07:41 +0000 (04:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Dec 2016 17:28:08 +0000 (12:28 -0500)
commitb63659fd26c5e685e7c2f52da15bf0bc810d5452
tree661fe02f44483a6b678687e0f00db985a0de7186
parent108a2b1c6ae53aa066d4424a2d31993f233dbc72
net: stmmac: fix incorrect bit set in gmac4 mdio addr register

Fixing the gmac4 mdio write access to use MII_GMAC4_WRITE only instead of
OR together with MII_WRITE.

Signed-off-by: Kweh, Hock Leong <hock.leong.kweh@intel.com>
Acked-By: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c